Re: Signals may be lost during setjmp or longjmp

2024-11-22 Thread Brian Inglis via Cygwin
On 2024-11-22 07:22, Christian Franke via Cygwin wrote: The command 'stress-ng --longjmp ... -t 1' occasionally fails to terminate because some child process does not receive the SIGALRM indicating timeout. Testcase (attached): $ g++ -O2 -o longjmpsigs longjmpsigs.cc $ ./longjmpsigs [^C] INT 

Signals may be lost during setjmp or longjmp

2024-11-22 Thread Christian Franke via Cygwin
The command 'stress-ng --longjmp ... -t 1' occasionally fails to terminate because some child process does not receive the SIGALRM indicating timeout. Testcase (attached): $ g++ -O2 -o longjmpsigs longjmpsigs.cc $ ./longjmpsigs [^C] INT   1 [^C] INT   2 ... [^C] INT   21 [^C] [^C] INT   22 ..