On Mon, Mar 08, 2004 at 11:33:17PM +0100, Magnus Hagander wrote:
> 
> >The postmaster's use of nominally unsafe stuff in signal 
> >handlers is not
> >and never has been a problem, because there is only one place in the
> >main loop where signals are unblocked, thus no possibility for 
> >something
> >to interrupt something else.  I don't like the idea of redesigning that
> >code just because someone misunderstands it.
> 
> 
> You're saying the above is not valid because we block signals?

It's all about reentrance of functions where it's not safe to do
so.

Either you avoid it in the signal handler or you avoid it by only
allowing it during a "safe" period.


Kurt


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to