:What happens if a second signal gets delivered to the process before
:the first signal is checked by the userland process?
:
Not sure what you mean. A second mailboxed signal or a normal signal?
Using the signal number or a different signal number?
I do see one case that I probably need to address, and that is if a normal
signal gets delivered to a process after a mailbox signal has been
delivered, but before the process enters a system call. The second
signal vector could cause the mailbox process flag that causes the
system call to return EINTR to get cleared. I probably need to save
the process mailbox flag and OR it back in when the normal signal returns
from its handler. Not a big deal.
-Matt
Matthew Dillon
<[EMAIL PROTECTED]>