GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SA_RESTART do sigaction
[mirrors/Programs.git]
/
c
/
pthread_extra
/
pthread_pause.c
diff --git
a/c/pthread_extra/pthread_pause.c
b/c/pthread_extra/pthread_pause.c
index 63ccc6a05cb299bae0c8a099fc520be1f55bb2c3..103283d755f13966dfac0f4c4298cd5460a5853b 100644
(file)
--- a/
c/pthread_extra/pthread_pause.c
+++ b/
c/pthread_extra/pthread_pause.c
@@
-59,7
+59,7
@@
void pthread_pause_enable() {
const struct sigaction pause_sa = {
.sa_sigaction = pthread_pause_handler,
.sa_mask = sigset,
- .sa_flags = SA_SIGINFO,
+ .sa_flags = SA_SIGINFO
| SA_RESTART
,
.sa_restorer = NULL
};
sigaction(PTHREAD_XSIG_STOP, &pause_sa, NULL);
This page took
0.120682 seconds
and
4
git commands to generate.