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 /ptw32_increase_semaphore.c | |
parent | a5f3d62017a8e705016d0083a24837d6a56f178d (diff) |
Added cancelation of/from non-POSIX threads; minor fixes; minor changes.snap-2003-09-03
Diffstat (limited to 'ptw32_increase_semaphore.c')
-rw-r--r-- | ptw32_increase_semaphore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ptw32_increase_semaphore.c b/ptw32_increase_semaphore.c index 7e2a730..9eafaed 100644 --- a/ptw32_increase_semaphore.c +++ b/ptw32_increase_semaphore.c @@ -59,11 +59,11 @@ ptw32_increase_semaphore(sem_t * sem, unsigned int n) { s->value += n; SetEvent(s->event); - result = TRUE; + result = PTW32_TRUE; } else { - result = FALSE; + result = PTW32_FALSE; } LeaveCriticalSection(&s->sem_lock_cs); |