From 82e8594087c93c84f27ad4508520db82289bb8fe Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 15:33:21 -0500 Subject: update standards and safety checks --- src/threads/thrd_detach.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/threads/thrd_detach.c') diff --git a/src/threads/thrd_detach.c b/src/threads/thrd_detach.c index 3aa1ee29..03ccb774 100644 --- a/src/threads/thrd_detach.c +++ b/src/threads/thrd_detach.c @@ -5,6 +5,7 @@ int thrd_detach(thrd_t thr) { + SIGNAL_SAFE(0); return pthread_detach(thr) == 0 ? thrd_success : thrd_error; } -- cgit v1.2.1