On Sat, 2004-10-09 at 12:39 +0800, David Xu wrote: > This can be done by set a flag in current threads td_pflags, > for example, set TDP_WAKEPROC0, when the current thread > leaves critical region, it can do wakeup(&proc0); That looks simple! I'll patch, test and send. -Sam