summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_kern.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2003-04-30 01:03:58 +0000
committerDavid Xu <davidxu@FreeBSD.org>2003-04-30 01:03:58 +0000
commit30a2952c90e63482cff3fd46ef44922c124e2c26 (patch)
tree5d5f9d2d25e297654a8903b480eeb447ab5a6148 /lib/libpthread/thread/thr_kern.c
parent8f3031025ba84422b32fb4353e4d229fc962a40a (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
-rw-r--r--lib/libpthread/thread/thr_kern.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c
index 5762219056f1..c26279edb35f 100644
--- a/lib/libpthread/thread/thr_kern.c
+++ b/lib/libpthread/thread/thr_kern.c
@@ -785,6 +785,7 @@ kse_sched_multi(struct kse *curkse)
; /* Nothing to do here. */
else if ((curthread->need_switchout == 0) &&
(curthread->blocked == 0) && (THR_IN_CRITICAL(curthread))) {
+ kse_wakeup_multi(curkse);
/*
* Resume the thread and tell it to yield when
* it leaves the critical region.