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/cnd_timedwait.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/threads/cnd_timedwait.c') diff --git a/src/threads/cnd_timedwait.c b/src/threads/cnd_timedwait.c index 0086f2c0..5758183e 100644 --- a/src/threads/cnd_timedwait.c +++ b/src/threads/cnd_timedwait.c @@ -6,6 +6,7 @@ int cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, const struct timespec *restrict ts) { + SIGNAL_SAFE(0); switch (pthread_cond_timedwait(cond, mtx, ts)) { case 0: return thrd_success; -- cgit v1.2.1