projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add SA_RESTART flag to signal handler
[urcu.git]
/
urcu.c
diff --git
a/urcu.c
b/urcu.c
index c07df2e8cf21384a07da3bb47066cd2b2bb44084..51c279f3aa91e7731ce4016f88af4fa7cd7d0025 100644
(file)
--- a/
urcu.c
+++ b/
urcu.c
@@
-40,7
+40,7
@@
void __attribute__((constructor)) urcu_init(void);
void __attribute__((destructor)) urcu_exit(void);
#else
void __attribute__((constructor)) urcu_init(void);
void __attribute__((destructor)) urcu_exit(void);
#else
-static inline urcu_init(void)
+static inline
void
urcu_init(void)
{
}
#endif
{
}
#endif
@@
-451,7
+451,7
@@
void urcu_init(void)
init_done = 1;
act.sa_sigaction = sigurcu_handler;
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) {
sigemptyset(&act.sa_mask);
ret = sigaction(SIGURCU, &act, NULL);
if (ret) {
This page took
0.023314 seconds
and
4
git commands to generate.