diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2002-03-06 19:28:41 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2002-03-06 19:28:41 +0000 |
| commit | ca4b2c1a792312ff074618844ffd77232cdee86c (patch) | |
| tree | f340718e38ac9a4f173cf51ddb7eedc39288a0fd /lib/libpthread/thread/thr_cancel.c | |
| parent | a370851f6e65f41287609adc39e39b4e42a4b4d9 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_cancel.c')
| -rw-r--r-- | lib/libpthread/thread/thr_cancel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_cancel.c b/lib/libpthread/thread/thr_cancel.c index 4c6ca98b0d1d..cf72d89e908b 100644 --- a/lib/libpthread/thread/thr_cancel.c +++ b/lib/libpthread/thread/thr_cancel.c @@ -70,6 +70,7 @@ _pthread_cancel(pthread_t pthread) if (pthread->join_status.thread != NULL) { pthread->join_status.thread->joiner = NULL; + pthread->join_status.thread = NULL; } pthread->cancelflags |= PTHREAD_CANCELLING; PTHREAD_NEW_STATE(pthread, PS_RUNNING); |
