diff options
author | rpj <rpj> | 2001-06-11 12:59:34 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-06-11 12:59:34 +0000 |
commit | 5561998d3f57b23914c5a8cc5a07e53492242a3e (patch) | |
tree | 98747b22eeea71cceb65775fdba209de8590b37c /private.c | |
parent | cde63164e7f952ed0980fe62877796b81f749310 (diff) |
* semaphore.h (sem_t): Fixed for compile and test.
* implement.h (sem_t_): Likewise.
* semaphore.c: Likewise.
* private.c (ptw32_sem_timedwait): Updated to use new
opaque sem_t.
tests/
* mutex5.c: Insert inert change to quell compiler warnings.
* condvar3_2.c: Remove unused variable.
Diffstat (limited to 'private.c')
-rw-r--r-- | private.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -899,11 +899,11 @@ ptw32_sem_timedwait (sem_t * sem, const struct timespec * abstime) #ifdef NEED_SEM - result = (pthreadCancelableTimedWait (sem->event, milliseconds)); + result = (pthreadCancelableTimedWait ((*sem)->event, milliseconds)); #else /* NEED_SEM */ - result = (pthreadCancelableTimedWait (*sem, milliseconds)); + result = (pthreadCancelableTimedWait ((*sem)->sem, milliseconds)); #endif |