summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_sig.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2001-05-20 23:08:33 +0000
committerJason Evans <jasone@FreeBSD.org>2001-05-20 23:08:33 +0000
commit6699b0c6fe5ba655ac55ea5cba946fdcc0cf228b (patch)
treed89bbc87d3018d7cb1234795377d3f0ef34f62c9 /lib/libpthread/thread/thr_sig.c
parent67d1f21cbefeec741ddb15e99369fa92f7a841c5 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
-rw-r--r--lib/libpthread/thread/thr_sig.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c
index 9ce53a0c702c..fd5180c90683 100644
--- a/lib/libpthread/thread/thr_sig.c
+++ b/lib/libpthread/thread/thr_sig.c
@@ -670,11 +670,8 @@ thread_sig_add(pthread_t pthread, int sig, int has_args)
* States which cannot be interrupted but still require the
* signal handler to run:
*/
- case PS_JOIN:
- /* Only set the interrupted flag for PS_JOIN: */
- pthread->interrupted = 1;
- /* FALLTHROUGH */
case PS_COND_WAIT:
+ case PS_JOIN:
case PS_MUTEX_WAIT:
/*
* Remove the thread from the wait queue. It will
@@ -955,11 +952,6 @@ _thread_sig_wrapper(void)
psf->saved_state.psd_state = PS_RUNNING;
break;
- case PS_JOIN:
- _join_backout(thread);
- psf->saved_state.psd_state = PS_RUNNING;
- break;
-
case PS_MUTEX_WAIT:
_mutex_lock_backout(thread);
psf->saved_state.psd_state = PS_RUNNING;