diff options
author | rpj <rpj> | 2001-07-05 17:04:39 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-07-05 17:04:39 +0000 |
commit | 7a3104dc65b469cbb9c88b6a9c7b7bea4126a43e (patch) | |
tree | 524cc0af0d3fa262c2412cdda269185059b33c33 /implement.h | |
parent | ec27b9c8303540de6b5a8ebefee114f3cdd436f0 (diff) |
Fixups to last commit.
Diffstat (limited to 'implement.h')
-rw-r--r-- | implement.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/implement.h b/implement.h index 34055dd..8d19406 100644 --- a/implement.h +++ b/implement.h @@ -136,8 +136,9 @@ struct sem_t_ { #define PTW32_OBJECT_AUTO_INIT ((void *) -1) #define PTW32_OBJECT_INVALID NULL -#define PTW32_SPIN_UNLOCKED ((void *) 1) -#define PTW32_SPIN_LOCKED ((void *) 2) +#define PTW32_SPIN_UNLOCKED (1) +#define PTW32_SPIN_LOCKED (2) +#define PTW32_SPIN_INTERLOCK_MASK (~3L) struct pthread_mutex_t_ { LONG lock_idx; |