diff options
Diffstat (limited to 'src/threads/call_once.c')
| -rw-r--r-- | src/threads/call_once.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threads/call_once.c b/src/threads/call_once.c index a4418b85..c09886ec 100644 --- a/src/threads/call_once.c +++ b/src/threads/call_once.c @@ -5,6 +5,7 @@ void call_once(once_flag *flag, void (*func)(void)) { + SIGNAL_SAFE(0); pthread_once(flag, func); } |
