From 9524378d241c4e349949ddc48df5ac09ce8b6963 Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 10 Feb 1999 21:45:28 +0000 Subject: Thu Feb 11 13:34:14 1999 Ross Johnson * misc.c (CancelableWait): Change C++ exception throw. * sync.c (pthread_join): Change FIXME comment - issue resolved. --- ChangeLog | 6 ++++++ misc.c | 2 +- sync.c | 8 +++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1226cb2..269e7d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Feb 11 13:34:14 1999 Ross Johnson + + * misc.c (CancelableWait): Change C++ exception throw. + + * sync.c (pthread_join): Change FIXME comment - issue resolved. + Wed Feb 10 12:49:11 1999 Ross Johnson * configure: Various temporary changes. diff --git a/misc.c b/misc.c index 8d353c1..b3c5246 100644 --- a/misc.c +++ b/misc.c @@ -237,7 +237,7 @@ CancelableWait (HANDLE waitHandle, DWORD timeout) #ifdef __cplusplus - throw pthread_exception; + throw Pthread_exception(); #endif /* __cplusplus */ diff --git a/sync.c b/sync.c index b7de5ac..4120838 100644 --- a/sync.c +++ b/sync.c @@ -123,11 +123,9 @@ pthread_join (pthread_t thread, void **value_ptr) } else { - /* - * FIXME: This call frees memory used to hold the 'thread' - * object. 'thread' will be invalid after the first call. - * - * Only the last exiting join should free 'thread'. + /* + * The result of making multiple simultaneous calls to + * pthread_join() specifying the same target is undefined. */ _pthread_threadDestroy (thread); } -- cgit v1.2.3