diff options
author | rpj <rpj> | 2003-09-02 16:15:05 +0000 |
---|---|---|
committer | rpj <rpj> | 2003-09-02 16:15:05 +0000 |
commit | 879bb0613c03b10bdf91aa862c2463b7f9f99087 (patch) | |
tree | 6e91c26a0f16a0e4bfd3ed436f27e470b5db7307 /pthread.h | |
parent | a5f3d62017a8e705016d0083a24837d6a56f178d (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.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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_ { |