On Wed, Jul 23, 2008 at 7:54 PM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > Hi! > >> Do we really need this option? >> Is someone going to disable it and why? > > I see only reason to disable it if one has some weird system where sigaction > is either absent or doesn't work as it should. Not that I know of any, but > Unix variants are full of surprises. > I'd keep it enabled by default, unless we are on OS that doesn't have > sigaction (e.g. Windows or some extremely weird Unix) or in ZTS, of course.
Windows has signal (and SigAction) support. Obviously (sigh) not using the same API but it is possible to achieve the same behaviors using the windows API. For example, there is already exception for special cases like SIGALRM, windows API also uses a timer (CreateWaitableTimer & co). Once the code is in cvs, I can give it a try to port zend_signal to windows (not before alpha1 but before alpha2 :) Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php