summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
authorrpj <rpj>1999-03-23 19:43:43 +0000
committerrpj <rpj>1999-03-23 19:43:43 +0000
commitab9f05fd540b3eff6456f886edda87cb95bfbadc (patch)
treecce54aa13890262b6c6c8357f64479aedd902752 /implement.h
parentaa07e974e0a6277492cc091762751ec28dfe3e96 (diff)
Wed Mar 24 11:32:07 1999 Ross Johnson <rpj@swan.canberra.edu.au>
* 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 <rpj@swan.canberra.edu.au> * cancel.c (comments): Update and cleanup. Fri Mar 19 09:12:59 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * private.c (_pthread_threadStart): status returns PTHREAD_CANCELED. * pthread.h (PTHREAD_CANCELED): defined.
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h9
1 files changed, 2 insertions, 7 deletions
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 <JEB>.
- */
-
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 */
-/* </JEB> */
/*
* Check for old and new versions of cygwin. See the FAQ file: