From 045278e11b53fc1ad59945427feab1cd9275988f Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 22 Oct 2004 15:06:41 +0000 Subject: Changes to mutexes and semaphores - considered alpha for now --- pthread_mutex_unlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_mutex_unlock.c') diff --git a/pthread_mutex_unlock.c b/pthread_mutex_unlock.c index 9b8e504..9002df5 100644 --- a/pthread_mutex_unlock.c +++ b/pthread_mutex_unlock.c @@ -100,7 +100,7 @@ pthread_mutex_unlock (pthread_mutex_t * mutex) (LONG) 0) < 0) { /* Someone may be waiting on that mutex */ - if (SetEvent (mx->event) == 0) + if (PulseEvent (mx->event) == 0) { result = EINVAL; } -- cgit v1.2.3