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: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 14 Jan 2007 10:26:08 -0800 (PST)

: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 
					<dillon@backplane.com>



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