Source-Changes archive

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

CVS commit: [nathanw_sa] syssrc/sys



Module Name:    syssrc
Committed By:   nathanw
Date:           Mon Jan 28 18:29:53 UTC 2002

Modified Files:
        syssrc/sys/kern [nathanw_sa]: init_sysent.c kern_lwp.c syscalls.c
            syscalls.master
        syssrc/sys/sys [nathanw_sa]: syscall.h syscallargs.h

Log Message:
Add a system call, _lwp_wakeup(), to wake up LWPs that are sleeping
interruptably. This is necessary when another thread has requested the
cancellation of a thread that is sleeping in the kernel.

This interface is slightly klugey. It might be better handled with a _lwp_kill()
interface, but that requires all of the machinery to deliver signals to
individual LWPs, which is large, complicated, and not clearly necessary.


To generate a diff of this commit:
cvs rdiff -r1.124.2.5 -r1.124.2.6 syssrc/sys/kern/init_sysent.c
cvs rdiff -r1.1.2.5 -r1.1.2.6 syssrc/sys/kern/kern_lwp.c
cvs rdiff -r1.119.2.5 -r1.119.2.6 syssrc/sys/kern/syscalls.c
cvs rdiff -r1.108.2.4 -r1.108.2.5 syssrc/sys/kern/syscalls.master
cvs rdiff -r1.118.2.5 -r1.118.2.6 syssrc/sys/sys/syscall.h
cvs rdiff -r1.99.2.5 -r1.99.2.6 syssrc/sys/sys/syscallargs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index