summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>2003-09-02 16:15:05 +0000
committerrpj <rpj>2003-09-02 16:15:05 +0000
commit879bb0613c03b10bdf91aa862c2463b7f9f99087 (patch)
tree6e91c26a0f16a0e4bfd3ed436f27e470b5db7307 /pthread.h
parenta5f3d62017a8e705016d0083a24837d6a56f178d (diff)
Added cancelation of/from non-POSIX threads; minor fixes; minor changes.snap-2003-09-03
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/pthread.h b/pthread.h
index 1a533c8..35b2828 100644
--- a/pthread.h
+++ b/pthread.h
@@ -201,6 +201,14 @@
#include <limits.h>
/*
+ * 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_
{