From 6e7ccfd0939ba6aaace23d8e2434af0d3dd8ab28 Mon Sep 17 00:00:00 2001 From: jasone Date: Thu, 16 Aug 2001 06:31:32 +0000 Subject: Fix a bug in canceling joining threads. Do not detach canceled threads. Reported by: Arno Klaassen Collaboration with: deischen --- lib/libpthread/thread/thr_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libpthread/thread/thr_private.h') 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; }; /* -- cgit v1.1