----- Original Message -----
From: "Sascha Schumann" <[EMAIL PROTECTED]>
To: "Jason T.Greene" <[EMAIL PROTECTED]>
Cc: "Tom May" <[EMAIL PROTECTED]>; "Chris Chabot" <[EMAIL PROTECTED]>; 
Sent: Friday, August 24, 2001 1:49 AM
Subject: Re: [PHP-DEV] Re: Re: sysvsem extention question

> > parent process right before fork.  There is no parent
> > initializer for a php module author
>     MINIT() is called from the parent process in forking servers.
>     The mm storage handler uses this hook to instantiate a shared
>     memory segment and propagate the handle to all child
>     processes.
Sascha is right...
Allow me to reword..
There is no way to allow a php file author the ability to execute php source during
module startup of a forking web server. The module would have to allocate and
initialize all semaphores before the php source is parsed. This defeats the purpose
of a semaphore extension in a forking webserver environment, becuase the php source
author would be limited to just the semaphors allocated by the php module.


>     - Sascha                                     Experience IRCG
>       http://schumann.cx/                http://schumann.cx/ircg

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to