Re: Using semaphores in PHP.
| From: | Tom May | Date: | Tue, 17 Nov 1998 21:23:08 +0000 |
| Subject: | Re: Using semaphores in PHP. | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2446@lists.php.net to get a copy of this message | ||
Zeev Suraski <bourbon@netvision.net.il> writes:
> 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.
Then it's unanimous. The semaphore stuff will be committed within the
hour and will use --enable. I did the doc but I have no idea whether
I did it right because I don't have the sgml tools.
Tom.
--
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