summaryrefslogtreecommitdiff
path: root/src/threads/cnd_signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/cnd_signal.c')
-rw-r--r--src/threads/cnd_signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threads/cnd_signal.c b/src/threads/cnd_signal.c
index fa881c26..0a00d095 100644
--- a/src/threads/cnd_signal.c
+++ b/src/threads/cnd_signal.c
@@ -3,5 +3,5 @@
int cnd_signal(cnd_t *cond)
{
- return pthread_cond_signal(cond);
+ return pthread_cond_signal(cond) == 0 ? thrd_success : thrd_error;
}