diff options
Diffstat (limited to 'kern/eventcount.c')
-rw-r--r-- | kern/eventcount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/eventcount.c b/kern/eventcount.c index 4dda5186..1cbc15a2 100644 --- a/kern/eventcount.c +++ b/kern/eventcount.c @@ -260,12 +260,12 @@ evc_signal(evc_t ev) * on run queue. */ thread->state = (state &~ TH_WAIT) | TH_RUN; - thread_unlock(thread); #if NCPUS > 1 thread_setrun(thread, TRUE); #else simpler_thread_setrun(thread, TRUE); #endif + thread_unlock(thread); break; case TH_RUN | TH_WAIT: |