Re: Using semaphores in PHP.
| From: | Jim Winstead | Date: | Mon, 16 Nov 1998 17:36:44 +0000 |
| Subject: | Re: Using semaphores in PHP. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2431@lists.php.net to get a copy of this message | ||
On Nov 16, Tom May wrote:
> Any input on whether adding semaphore wrappers would be a reasonable
> thing to do, and how to deal with the time limit problem (other than
> not using a time limit)?
Semaphores would be cool, especially if they were cross-platform. I would
recommend looking at the resource-list management in PHP as a means of
registering and cleaning up these semaphores. (Check out php3_list.h,
list.c, and a module like db.c to see how these functions are used.)
Let us know when you have more questions. :)
Jim
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net