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

Re: cvs commit: src/sys/kern kern_sig.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Feb 2007 10:11:54 -0800 (PST)

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

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

    Please make sure that those semantics are retained.

						-Matt



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