Skip to content

Commit

Permalink
Linux ignore SIGCHLD for Sys.command end
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Jul 15, 2024
1 parent 10579ff commit cc595a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified hldebug-wrapper/lib/linux/hldebug.node
Binary file not shown.
2 changes: 2 additions & 0 deletions hldebug-wrapper/src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ HL_API int hl_debug_wait( int pid, int *thread, int timeout ) {
int sig = WSTOPSIG(status);
if( sig == SIGSTOP || sig == SIGTRAP )
return 1;
if( sig == SIGCHLD )
return 4;
return 3;
}
return 4;
Expand Down

0 comments on commit cc595a0

Please sign in to comment.