diff options
author | jasone <jasone@FreeBSD.org> | 2001-08-16 06:31:32 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2001-08-16 06:31:32 +0000 |
commit | 6e7ccfd0939ba6aaace23d8e2434af0d3dd8ab28 (patch) | |
tree | 58d56e8f03dd7d3a15b34ecf3a5680c7e056fa65 /lib/libpthread/thread/thr_private.h | |
parent | cd3f3aab8e337abe90764fb04a24c977624fdecd (diff) | |
download | FreeBSD-src-6e7ccfd0939ba6aaace23d8e2434af0d3dd8ab28.zip FreeBSD-src-6e7ccfd0939ba6aaace23d8e2434af0d3dd8ab28.tar.gz |
Fix a bug in canceling joining threads.
Do not detach canceled threads.
Reported by: Arno Klaassen <arno@heho.snv.jussieu.fr>
Collaboration with: deischen
Diffstat (limited to 'lib/libpthread/thread/thr_private.h')
-rw-r--r-- | lib/libpthread/thread/thr_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index 2bfac78..cc3ec79 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -575,6 +575,7 @@ union pthread_wait_data { FILE *fp; struct pthread_poll_data *poll_data; spinlock_t *spinlock; + struct pthread *thread; }; /* |