cvs commit: src/sys/kern kern_sig.c

Matthew Dillon dillon at
Thu Feb 22 10:22:31 PST 2007

:corecode    2007/02/22 07:48:55 PST
:DragonFly src repository
:  Modified files:
:    sys/kern             kern_sig.c 
:  Log:
:  Fix stopping of the current process, which was broken by the last commit.
:  If the current process is still far inside the kernel and is going to
:  tsleep(), CURSIG()/issignal() in tsleep() have to see the pending signal;

    You can't actually stop a process in tsleep, ever.  The kernel might
    be holding resources (such as lockmgr locks) that would never be 

    A process can only be stopped in userret() (platform/pc32/i386/trap.c).

    Please make sure that those semantics are retained.


More information about the Commits mailing list