diff options
Diffstat (limited to 'pthread_mutex_unlock.c')
-rw-r--r-- | pthread_mutex_unlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |