diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-01-07 06:04:33 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-01-07 06:04:33 +0000 |
commit | 5e7b42c50b5c8fc3a9fbb4ee341e5711b13afb5a (patch) | |
tree | d42b0c4bc6bd9c865fd09d80c6fadf4a5ce05fb1 | |
parent | 87b58b164847b463017f49627b1cfed00cb6719c (diff) | |
download | FreeBSD-src-5e7b42c50b5c8fc3a9fbb4ee341e5711b13afb5a.zip FreeBSD-src-5e7b42c50b5c8fc3a9fbb4ee341e5711b13afb5a.tar.gz |
Forgot to call setrunnable() for un-idled thread.
-rw-r--r-- | sys/kern/kern_sig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 77ee34b..c84cbd1 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1642,6 +1642,7 @@ tdsignal(struct thread *td, int sig, sig_t action) abortsleep(td); } else if (TD_IS_IDLE(td)) { TD_CLR_IDLE(td); + setrunnable(td); } #ifdef SMP else { |