From 69b6d50683fcf0a7241953fdd2df6413477a2475 Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 2 Sep 2000 09:34:19 +0000 Subject: 2000-09-02 Ross Johnson * condvar.c (ptw32_cond_wait_cleanup): Ensure that all waking threads check if they are the last, and notify the broadcaster if so - even if an error occurs in the waiter. * semaphore.c (_decrease_semaphore): Should be a call to ptw32_decrease_semaphore. (_increase_semaphore): Should be a call to ptw32_increase_semaphore. * misc.c (ptw32_cancelable_wait): Renamed from CancelableWait. (cond_wait_cleanup*): Rename to ptw32_cond_wait_cleanup*. (ptw32_cond_timedwait): Add comments. --- pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread.h') diff --git a/pthread.h b/pthread.h index 7f43f43..c25b1fd 100644 --- a/pthread.h +++ b/pthread.h @@ -686,7 +686,7 @@ struct ptw32_cleanup_t { if ( executeIt && ((void *) cleanUpRout != NULL) ) { - (void) (*cleanUpRout)( obj ); + (void) (*cleanUpRout)( obj ); } } -- cgit v1.2.3