SIGUSR2 from GC interrupts application system calls on Linux

Claude via Digitalmars-d digitalmars-d at puremagic.com
Fri May 27 01:10:11 PDT 2016


On Thursday, 26 May 2016 at 20:10:57 UTC, ikod wrote:
> Will it not hang in the loop if you send it SIGINT?
> Looks like not, but is strange for me.

Yes, I had the same feeling the first time I came across that.

I remember why we had to use that loop in C: when we were using 
gdb to do some debugging, it would interrupt the sys call, which 
was not desired.

We use that in production code, I've never had any problem with 
it.


More information about the Digitalmars-d mailing list