Subject: CVS commit: [nathanw_sa] syssrc/sys/kern
To: None <firstname.lastname@example.org>
From: Nathan J Williams <email@example.com>
Date: 04/02/2002 03:16:01
Module Name: syssrc
Committed By: nathanw
Date: Tue Apr 2 00:16:01 UTC 2002
syssrc/sys/kern [nathanw_sa]: kern_lwp.c kern_sa.c kern_sig.c
- Centralize p_nrlwps handling in those functions which actually
set the LWP state to LSRUN. Simplifies matters considerably.
- Trying to keep track of the preempted LWP was a bad idea; go back
to searching for now.
- Send a PREEMPTED upcall from proc_unstop(), so that stopped processes
know that something happened, and so that all runnable LWPs of a unstopped
process have an upcall to deliver (Ideally, the LWP that was runnable
when the process was stopped should return first, and any LWPs that were
woken up while the process was stopped would interrupt it, but that's
difficult to arrange).
To generate a diff of this commit:
cvs rdiff -r184.108.40.206 -r220.127.116.11 syssrc/sys/kern/kern_lwp.c
cvs rdiff -r18.104.22.168 -r22.214.171.124 syssrc/sys/kern/kern_sa.c
cvs rdiff -r126.96.36.199 -r188.8.131.52 syssrc/sys/kern/kern_sig.c
cvs rdiff -r184.108.40.206 -r220.127.116.11 syssrc/sys/kern/kern_synch.c
cvs rdiff -r18.104.22.168 -r22.214.171.124 syssrc/sys/kern/kern_time.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.