summaryrefslogtreecommitdiff
path: root/src/time/timer_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/timer_create.c')
-rw-r--r--src/time/timer_create.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/time/timer_create.c b/src/time/timer_create.c
index cc10bef0..3bcfa951 100644
--- a/src/time/timer_create.c
+++ b/src/time/timer_create.c
@@ -51,8 +51,7 @@ static void install_handler()
.sa_flags = SA_SIGINFO | SA_RESTART
};
__libc_sigaction(SIGTIMER, &sa, 0);
- sigaddset(&sa.sa_mask, SIGTIMER);
- __libc_sigprocmask(SIG_UNBLOCK, &sa.sa_mask, 0);
+ __syscall(SYS_rt_sigprocmask, SIG_UNBLOCK, &SIGTIMER_SET, 0, 8);
}
static void *start(void *arg)