diff options
Diffstat (limited to 'src/threads/thrd_exit.c')
| -rw-r--r-- | src/threads/thrd_exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threads/thrd_exit.c b/src/threads/thrd_exit.c index 1258bbf7..117b63c2 100644 --- a/src/threads/thrd_exit.c +++ b/src/threads/thrd_exit.c @@ -5,6 +5,7 @@ _Noreturn void thrd_exit(int res) { + SIGNAL_SAFE(0); pthread_exit(&res); } |
