DragonFly commits List (threaded) for 2007-01
DragonFly BSD
DragonFly commits List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 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 ...


From: Victor Balada Diaz <victor@xxxxxxxxx>
Date: Sun, 14 Jan 2007 20:01:02 +0100

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. 



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]