Skip to content

Commit

Permalink
Merge pull request Pithikos#127 from Pithikos/revert-116-fix/SA_ONSTACK
Browse files Browse the repository at this point in the history
Revert "fix: set the SA_ONSTACK flag"
  • Loading branch information
Pithikos authored Dec 18, 2023
2 parents 6c9410d + 81b76df commit b80f3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thpool.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ static void* thread_do(struct thread* thread_p){
/* Register signal handler */
struct sigaction act;
sigemptyset(&act.sa_mask);
act.sa_flags = SA_ONSTACK;
act.sa_flags = 0;
act.sa_handler = thread_hold;
if (sigaction(SIGUSR1, &act, NULL) == -1) {
err("thread_do(): cannot handle SIGUSR1");
Expand Down

0 comments on commit b80f3b7

Please sign in to comment.