diff options
author | David Leonard <d@cvs.openbsd.org> | 1998-12-10 00:40:20 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1998-12-10 00:40:20 +0000 |
commit | 2f669072197e7ccdad929030e83c697fe9e47d38 (patch) | |
tree | 4135a2aef7d23fdb401e5e09e0af80aeb71d3bd5 /lib/libpthread/uthread/uthread_kill.c | |
parent | 2ae7d9d676817895acb58a95f45ed88e4626c04d (diff) |
sync with FreeBSD
Diffstat (limited to 'lib/libpthread/uthread/uthread_kill.c')
-rw-r--r-- | lib/libpthread/uthread/uthread_kill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_kill.c b/lib/libpthread/uthread/uthread_kill.c index 5c3f98d441b..7572c05faff 100644 --- a/lib/libpthread/uthread/uthread_kill.c +++ b/lib/libpthread/uthread/uthread_kill.c @@ -91,10 +91,10 @@ pthread_kill(pthread_t pthread, int sig) (_thread_sigact[sig - 1].sa_handler != SIG_IGN)) { /* Flag the operation as interrupted: */ pthread->interrupted = 1; - + /* Change the state of the thread to run: */ PTHREAD_NEW_STATE(pthread,PS_RUNNING); - + /* Return the signal number: */ pthread->signo = sig; } else { |