diff options
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r-- | thread_pthread.ci | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci index 43dac0be5a..61ef65a478 100644 --- a/thread_pthread.ci +++ b/thread_pthread.ci @@ -462,6 +462,11 @@ static void timer_thread_function(void); static void * thread_timer(void *dummy) { + sigset_t all_signals; + + sigfillset(&all_signals); + pthread_sigmask(SIG_BLOCK, &all_signals, 0); + while (system_working) { #ifdef HAVE_NANOSLEEP struct timespec req, rem; |