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/mtx_unlock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/threads/mtx_unlock.c') diff --git a/src/threads/mtx_unlock.c b/src/threads/mtx_unlock.c index e7fa8f30..0b2b5fec 100644 --- a/src/threads/mtx_unlock.c +++ b/src/threads/mtx_unlock.c @@ -5,6 +5,7 @@ int mtx_unlock(mtx_t *mtx) { + SIGNAL_SAFE(0); return pthread_mutex_unlock(mtx) == 0 ? thrd_success : thrd_error; } -- cgit v1.2.1