From 879bb0613c03b10bdf91aa862c2463b7f9f99087 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 2 Sep 2003 16:15:05 +0000 Subject: Added cancelation of/from non-POSIX threads; minor fixes; minor changes. --- pthread.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'pthread.h') diff --git a/pthread.h b/pthread.h index 1a533c8..35b2828 100644 --- a/pthread.h +++ b/pthread.h @@ -200,6 +200,14 @@ #include #include +/* + * Boolean values to make us independent of system includes. + */ +enum { + PTW32_FALSE = 0, + PTW32_TRUE = (! PTW32_FALSE) +}; + /* * This is a duplicate of what is in the autoconf config.h, * which is only used when building the pthread-win32 libraries. @@ -576,7 +584,7 @@ enum { * ==================== * ==================== */ -#define PTHREAD_ONCE_INIT { FALSE, -1 } +#define PTHREAD_ONCE_INIT { PTW32_FALSE, -1 } struct pthread_once_t_ { -- cgit v1.2.3