SIGUSR1, SIGUSR2

Adam D. Ruppe destructionator at gmail.com
Fri Dec 11 17:32:54 UTC 2020


On Friday, 11 December 2020 at 17:29:12 UTC, Panke wrote:
> But somehow my process gets signalled with USR1 and USR2 all 
> the time. If I do

The garbage collector uses sig usr1/2 to pause threads so it can 
do its collection work.

When debugging just ignore them. My .gdbinit has these lines:

handle SIGUSR1 noprint
handle SIGUSR2 noprint

since most D programs will have these.


More information about the Digitalmars-d-learn mailing list