Subject: CVS commit: [nathanw_sa] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 07/17/2002 22:52:27
Module Name: syssrc
Committed By: nathanw
Date: Wed Jul 17 19:52:26 UTC 2002
Modified Files:
syssrc/sys/kern [nathanw_sa]: kern_sa.c
Log Message:
In sa_yield(), record the current LWP as the idle LWP, and be careful
not to yield if there is a pending asynchronous upcall.
Implement a routine to handle preemption, to remove sa-related logic
from preempt() itself.
Don't try to remove a sleeping (idle) LWP from a run queue.
To generate a diff of this commit:
cvs rdiff -r1.1.2.25 -r1.1.2.26 syssrc/sys/kern/kern_sa.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.