diff options
Diffstat (limited to 'src/threads/mtx_trylock.c')
| -rw-r--r-- | src/threads/mtx_trylock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threads/mtx_trylock.c b/src/threads/mtx_trylock.c index c11f8db5..2188c934 100644 --- a/src/threads/mtx_trylock.c +++ b/src/threads/mtx_trylock.c @@ -6,6 +6,7 @@ int mtx_trylock(mtx_t *mtx) { + SIGNAL_SAFE(0); switch (pthread_mutex_trylock(mtx)) { case 0: return thrd_success; |
