summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_cancel.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2003-05-06 00:02:54 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2003-05-06 00:02:54 +0000
commit07e6b1c7a3e1ab7d9c9605842d5b710fcef8b3c6 (patch)
tree2361c6b255d8623ee2107af625323cd2aca33aff /lib/libpthread/thread/thr_cancel.c
parent8ac66afea99d554255029e4a165566308f18a4ee (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_cancel.c')
-rw-r--r--lib/libpthread/thread/thr_cancel.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libpthread/thread/thr_cancel.c b/lib/libpthread/thread/thr_cancel.c
index fc05b55aea78..2c3ae5939429 100644
--- a/lib/libpthread/thread/thr_cancel.c
+++ b/lib/libpthread/thread/thr_cancel.c
@@ -64,16 +64,7 @@ _pthread_cancel(pthread_t pthread)
break;
case PS_JOIN:
- /*
- * Disconnect the thread from the joinee:
- */
- if (pthread->join_status.thread != NULL) {
- pthread->join_status.thread->joiner
- = NULL;
- pthread->join_status.thread = NULL;
- }
pthread->cancelflags |= THR_CANCELLING;
- _thr_setrunnable_unlocked(pthread);
break;
case PS_SUSPENDED: