summaryrefslogtreecommitdiff
path: root/src/threads/thrd_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/thrd_sleep.c')
-rw-r--r--src/threads/thrd_sleep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threads/thrd_sleep.c b/src/threads/thrd_sleep.c
index d4b78d9d..7347d02c 100644
--- a/src/threads/thrd_sleep.c
+++ b/src/threads/thrd_sleep.c
@@ -5,6 +5,7 @@
int thrd_sleep(const struct timespec *duration, struct timespec *remaining)
{
+ SIGNAL_SAFE(0);
return nanosleep(duration, remaining);
}