GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128ba9a
)
SA_RESTART do sigaction
author
Tomas Mudrunka
<tomas@mudrunka.cz>
Fri, 2 Jul 2021 08:26:07 +0000
(10:26 +0200)
committer
Tomas Mudrunka
<tomas@mudrunka.cz>
Fri, 2 Jul 2021 08:26:07 +0000
(10:26 +0200)
c/pthread_extra/pthread_pause.c
patch
|
blob
|
blame
|
history
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.24453 seconds
and
4
git commands to generate.