From fbf94f64b8cff8f35b9a4d4f76bfcef75adbc6b7 Mon Sep 17 00:00:00 2001 From: julian Date: Sun, 29 Sep 2002 23:28:58 +0000 Subject: uh, commit all of the patch --- sys/kern/kern_mutex.c | 1 + sys/kern/subr_turnstile.c | 1 + 2 files changed, 2 insertions(+) (limited to 'sys') diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 935ac79..6becc78 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -766,6 +766,7 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line) mtx_unlock_spin(&sched_lock); return; } + setrunqueue(td1); if (td->td_critnest == 1 && td1->td_priority < pri) { #ifdef notyet diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c index 935ac79..6becc78 100644 --- a/sys/kern/subr_turnstile.c +++ b/sys/kern/subr_turnstile.c @@ -766,6 +766,7 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line) mtx_unlock_spin(&sched_lock); return; } + setrunqueue(td1); if (td->td_critnest == 1 && td1->td_priority < pri) { #ifdef notyet -- cgit v1.1