Skip to content

Commit b80f3b7

Browse files
authored
Merge pull request #127 from Pithikos/revert-116-fix/SA_ONSTACK
Revert "fix: set the SA_ONSTACK flag"
2 parents 6c9410d + 81b76df commit b80f3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thpool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ static void* thread_do(struct thread* thread_p){
349349
/* Register signal handler */
350350
struct sigaction act;
351351
sigemptyset(&act.sa_mask);
352-
act.sa_flags = SA_ONSTACK;
352+
act.sa_flags = 0;
353353
act.sa_handler = thread_hold;
354354
if (sigaction(SIGUSR1, &act, NULL) == -1) {
355355
err("thread_do(): cannot handle SIGUSR1");

0 commit comments

Comments
 (0)