Alfred Perlstein <[EMAIL PROTECTED]> writes:
> erm, can't you point multiple signal handler entries to the same
> routine?  can't you also make it so that signals aren't defered
> or blocked while another handler is executing so you may actually
> re-enter the handler before it's complete.

I use good ol' signal() rather than sigaction(), so no, signals can't
interrupt one another's handlers.

> specifically how you say you increment it, then decrement it,
> if you have multiple handlers where one can interupt another
> you can have the counter get jumbled.

Not if increment / decrement is atomic.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to