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 ...
Victor Balada Diaz
victor at bsdes.net
Sun Jan 14 11:06:11 PST 2007
On Sun, Jan 14, 2007 at 10:26:08AM -0800, Matthew Dillon wrote:
>
> :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?
A second mailboxed signal with a different number. Eg: you make a
syscall, the syscall returns EINTR and you go to check what's on
the mailbox, but before being able to read what's on the mailbox
an other signal gets delivered, so when you actually want to
look at the mailbox you would be reading the second signal instead
of the first one.
--
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros.
More information about the Commits
mailing list