Re: Using semaphores in PHP.
| From: | Zeev Suraski | Date: | Tue, 17 Nov 1998 23:00:29 +0000 |
| Subject: | Re: Using semaphores in PHP. | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2445@lists.php.net to get a copy of this message | ||
At 12:00 17/11/98 -0800, Jim Winstead wrote:
>On Nov 17, Tom May wrote:
>> At the moment it's set up to recognize --enable-sysvsem as a configure
>> switch. Maybe it should be --with-sysvsem instead. If you enable it,
>> it assumes you've got semget() etc. and if you don't then the build
>> will break but that's operator error.
>>
>> While you all ponder the --enable vs. --with, I'll get the
>> documentation going.
>
>Well, since nobody else has voiced an opinion, I'll cast my vote for
>--enable.
>
>However, I think it would make even more sense to just test for the
>functions and enable it automatically if they exist, just like we do
>for dlopen(), tempnam(), etc. It's not like enabling these functions
>impacts anyone's life in a meaningful way.
I think it does actually. There's a very limited number of semaphores
available on a given system and that resource may not be something that
system administrator wants the users to share. That was my motivation to
have it selectable. I cast my vote for --enable as well.
Zeev
--
Zeev Suraski <zeev@php.net>
For a PGP public key, finger bourbon@netvision.net.il
--
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