summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 9454f84ac..73adab4b4 100644
--- a/thread.c
+++ b/thread.c
@@ -2579,6 +2579,7 @@ mutex_unlock(mutex_t *mutex)
/* waiting thread */
native_cond_signal(&mutex->cond);
mutex->cond_waiting--;
+ mutex->cond_notified++;
}
}