diff options
author | Tor Egge <tegge@FreeBSD.org> | 2006-10-14 01:11:44 +0000 |
---|---|---|
committer | Tor Egge <tegge@FreeBSD.org> | 2006-10-14 01:11:44 +0000 |
commit | 2a99cc4322a78f35eed0e8c206b917f60b88017b (patch) | |
tree | c3683517da27af042ae0fa48ed4936a6d14edbfa /lib/libc_r/uthread | |
parent | 65fe4c0bfdb18fa54943cf5f4e598a2a0cdc32ba (diff) |
Notes
Diffstat (limited to 'lib/libc_r/uthread')
-rw-r--r-- | lib/libc_r/uthread/uthread_sig.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/uthread_sig.c b/lib/libc_r/uthread/uthread_sig.c index b61e21c074b58..c5ea836c03aa2 100644 --- a/lib/libc_r/uthread/uthread_sig.c +++ b/lib/libc_r/uthread/uthread_sig.c @@ -441,14 +441,13 @@ thread_sig_find(int sig) } if (suspended_thread == NULL && - signaled_thread == NULL) { + signaled_thread == NULL) /* * Add it to the set of signals pending * on the process: */ - _thread_sigq[sig - 1].blocked = 0; sigaddset(&_process_sigpending, sig); - } else { + else { /* * We only deliver the signal to one thread; * give preference to the suspended thread: |