summaryrefslogtreecommitdiff
path: root/pthread_mutex_unlock.c
diff options
context:
space:
mode:
authorrpj <rpj>2004-10-22 15:06:41 +0000
committerrpj <rpj>2004-10-22 15:06:41 +0000
commit045278e11b53fc1ad59945427feab1cd9275988f (patch)
treeda8570a7a8962d9563814c4910e8a9d5fb6fa685 /pthread_mutex_unlock.c
parentf84df26e12431bb9ecd07fbc52c804538635901f (diff)
Changes to mutexes and semaphores - considered alpha for now
Diffstat (limited to 'pthread_mutex_unlock.c')
-rw-r--r--pthread_mutex_unlock.c2
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;
}