Re: [PHP-DEV] Signal handling cleanup proposal

2005-07-07 Thread Andi Gutmans
At 05:21 PM 7/7/2005 -0700, Rasmus Lerdorf wrote: Andi Gutmans wrote: > I'd like to take a step back and try and understand better in which > cases we are failing. Although I know we added critical section code in > the hash, I think it's effectiveness is questionable, because I believe > there a

Re: [PHP-DEV] Signal handling cleanup proposal

2005-07-07 Thread Rasmus Lerdorf
Andi Gutmans wrote: > I'd like to take a step back and try and understand better in which > cases we are failing. Although I know we added critical section code in > the hash, I think it's effectiveness is questionable, because I believe > there are many places today where we might have critical se

Re: [PHP-DEV] Signal handling cleanup proposal

2005-07-07 Thread Andi Gutmans
I'd like to take a step back and try and understand better in which cases we are failing. Although I know we added critical section code in the hash, I think it's effectiveness is questionable, because I believe there are many places today where we might have critical sections besides the hash

[PHP-DEV] Signal handling cleanup proposal

2005-07-07 Thread Rasmus Lerdorf
Currently we have some issues when it comes to dealing with signals. We have a number of critical sections in the engine and in various extensions that rely on the HANDLE_BLOCK_INTERRUPTIONS macro in an attempt to not be interrupted. However, the actual signal blocking is supplied by the current