K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-10-05T18:00:30.000000Z K 7 svn:log V 372 Add a critical section in turnstile_unpend() from before dropping the turnstile chain lock until after making all the awakened threads runnable. First, this fixes a priority inversion race. Second, this attempts to finish waking up all of the threads waiting on a turnstile before doing a preemption. Reviewed by: Stephan Uphoff (who found the priority inversion race) END