summaryrefslogtreecommitdiff
path: root/src/threads/thrd_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/thrd_join.c')
-rw-r--r--src/threads/thrd_join.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threads/thrd_join.c b/src/threads/thrd_join.c
index 588062f5..24001f60 100644
--- a/src/threads/thrd_join.c
+++ b/src/threads/thrd_join.c
@@ -5,6 +5,7 @@
int thrd_join(thrd_t thr, int *res)
{
+ SIGNAL_SAFE(0);
return pthread_join(thr, (void**)&res) == 0 ? thrd_success : thrd_error;
}