From ab9f05fd540b3eff6456f886edda87cb95bfbadc Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 23 Mar 1999 19:43:43 +0000 Subject: Wed Mar 24 11:32:07 1999 Ross Johnson * misc.c (CancelableWait): Initialise exceptionInformation[2]. (pthread_self): Get a real Win32 thread handle for implicit threads. * cancel.c (pthread_testcancel): Initialise exceptionInformation[2]. * implement.h (SE_INFORMATION): Fix values. * private.c (_pthread_threadDestroy): Close the thread handle. Fri Mar 19 12:57:27 1999 Ross Johnson * cancel.c (comments): Update and cleanup. Fri Mar 19 09:12:59 1999 Ross Johnson * private.c (_pthread_threadStart): status returns PTHREAD_CANCELED. * pthread.h (PTHREAD_CANCELED): defined. --- implement.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'implement.h') diff --git a/implement.h b/implement.h index 3e9ff50..7740e0c 100644 --- a/implement.h +++ b/implement.h @@ -27,10 +27,6 @@ #ifndef _IMPLEMENT_H #define _IMPLEMENT_H -/* - * Code contributed by John E. Bossom . - */ - typedef struct ThreadParms ThreadParms; typedef struct ThreadKeyAssoc ThreadKeyAssoc; @@ -120,8 +116,8 @@ struct ThreadKeyAssoc { */ #define SE_SUCCESS 0x00 #define SE_INFORMATION 0x01 -#define SE_WARNING 0x10 -#define SE_ERROR 0x11 +#define SE_WARNING 0x02 +#define SE_ERROR 0x03 #define MAKE_SOFTWARE_EXCEPTION( _severity, _facility, _exception ) \ ( (DWORD) ( ( (_severity) << 30 ) | /* Severity code */ \ @@ -221,7 +217,6 @@ int _pthread_sem_post (_pthread_sem_t * sem); } #endif /* __cplusplus */ -/* */ /* * Check for old and new versions of cygwin. See the FAQ file: -- cgit v1.2.3