summaryrefslogtreecommitdiff
path: root/src/threads/thrd_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/thrd_create.c')
-rw-r--r--src/threads/thrd_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threads/thrd_create.c b/src/threads/thrd_create.c
index 7e1a1552..e09bf682 100644
--- a/src/threads/thrd_create.c
+++ b/src/threads/thrd_create.c
@@ -6,6 +6,7 @@
int thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
{
+ SIGNAL_SAFE(0);
typedef void *(*pthread_start_fn)(void*);
switch (pthread_create(thr, 0, (pthread_start_fn)func, arg)) {
case 0: