diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | cancel.c | 2 | ||||
-rw-r--r-- | global.c | 6 | ||||
-rw-r--r-- | implement.h | 2 |
4 files changed, 9 insertions, 9 deletions
@@ -2,6 +2,14 @@ Fri Feb 5 13:42:30 1999 Ross Johnson <rpj@swan.canberra.edu.au> * semaphore.c: Comment format changes. +Thu Feb 4 10:07:28 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> + + * global.c: Remove Pthread_exception instantiation. + + * cancel.c (pthread_testcancel): Change C++ exception throw. + + * implement.h: Remove extern declaration. + Wed Feb 3 13:04:44 1999 Ross Johnson <rpj@swan.canberra.edu.au> * cleanup.c: Rename _pthread_*_cleanup() to pthread_*_cleanup(). @@ -194,7 +194,7 @@ pthread_testcancel (void) #ifdef __cplusplus - throw pthread_exception; + throw Pthread_exception(); #endif /* __cplusplus */ @@ -14,12 +14,6 @@ int _pthread_processInitialized = FALSE; pthread_key_t _pthread_selfThreadKey = NULL; pthread_key_t _pthread_cleanupKey = NULL; -#if !defined(_MSC_VER) && defined(__cplusplus) - -Pthread_exception pthread_exception; - -#endif - /* * Global lock for testing internal state of PTHREAD_MUTEX_INITIALIZER * created mutexes. diff --git a/implement.h b/implement.h index ca138cd..2103027 100644 --- a/implement.h +++ b/implement.h @@ -134,8 +134,6 @@ struct ThreadKeyAssoc { class Pthread_exception {}; -extern Pthread_exception pthread_exception; - #else /* __cplusplus */ #warning File __FILE__, Line __LINE__: Cancellation not supported under C. |