cvs commit: src/sys/kern kern_sig.c kern_synch.c src/sys/machine/pc32/i386 machdep.c src/sys/machine/vkernel/i386 cpu_regs.c fork_tramp.s trap.c src/sys/machine/vkernel/include globaldata.h md_var.h src/sys/machine/vkernel/platform systimer.c ...
dillon at apollo.backplane.com
Sun Jan 14 10:33:23 PST 2007
: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.
<dillon at backplane.com>
More information about the Commits