Add SA_RESTART flag to signal handler
[urcu.git] / urcu.c
diff --git a/urcu.c b/urcu.c
index f219e7632f50d232cbb3f73c75b097f56246215f..51c279f3aa91e7731ce4016f88af4fa7cd7d0025 100644 (file)
--- a/urcu.c
+++ b/urcu.c
@@ -451,7 +451,7 @@ void urcu_init(void)
        init_done = 1;
 
        act.sa_sigaction = sigurcu_handler;
-       act.sa_flags = SA_SIGINFO;
+       act.sa_flags = SA_SIGINFO | SA_RESTART;
        sigemptyset(&act.sa_mask);
        ret = sigaction(SIGURCU, &act, NULL);
        if (ret) {
This page took 0.03096 seconds and 4 git commands to generate.