diff options
author | rpj <rpj> | 2002-07-30 17:18:25 +0000 |
---|---|---|
committer | rpj <rpj> | 2002-07-30 17:18:25 +0000 |
commit | d9bad66cbb8823ad786ac480330db1c05e85557a (patch) | |
tree | 512085bea583cab23c9f32646921fbda66aa447d /ptw32_decrease_semaphore.c | |
parent | ccd0f86e370fa71acd47c17cb9579877403c81d1 (diff) |
* pthread_cond_wait.c (ptw32_cond_wait_cleanup):
Remove code designed to avoid/prevent spurious wakeup
problems. It is believed that the sem_timedwait() call
is consuming a CV signal that it shouldn't and this is
breaking the avoidance logic.
Diffstat (limited to 'ptw32_decrease_semaphore.c')
-rw-r--r-- | ptw32_decrease_semaphore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ptw32_decrease_semaphore.c b/ptw32_decrease_semaphore.c index e16dfd6..51a6cf2 100644 --- a/ptw32_decrease_semaphore.c +++ b/ptw32_decrease_semaphore.c @@ -59,9 +59,9 @@ ptw32_decrease_semaphore(sem_t * sem) { s->value--; if (s->value != 0) - { - SetEvent(s->event); - } + { + SetEvent(s->event); + } } else { |