diff options
author | rpj <rpj> | 1999-02-10 21:45:28 +0000 |
---|---|---|
committer | rpj <rpj> | 1999-02-10 21:45:28 +0000 |
commit | 9524378d241c4e349949ddc48df5ac09ce8b6963 (patch) | |
tree | d23ef93d9fb26e9b49a54e48ab4ae8ab09e85660 | |
parent | fdfe65e0075401c14df1c5ac0174b8814d6eb3f3 (diff) |
Thu Feb 11 13:34:14 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* misc.c (CancelableWait): Change C++ exception throw.
* sync.c (pthread_join): Change FIXME comment - issue resolved.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | misc.c | 2 | ||||
-rw-r--r-- | sync.c | 8 |
3 files changed, 10 insertions, 6 deletions
@@ -1,3 +1,9 @@ +Thu Feb 11 13:34:14 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> + + * 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 <rpj@ixobrychus.canberra.edu.au> * configure: Various temporary changes. @@ -237,7 +237,7 @@ CancelableWait (HANDLE waitHandle, DWORD timeout) #ifdef __cplusplus - throw pthread_exception; + throw Pthread_exception(); #endif /* __cplusplus */ @@ -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); } |