SIGUSR1, SIGUSR2

Panke tobias at pankrath.net
Fri Dec 11 17:59:27 UTC 2020


On Friday, 11 December 2020 at 17:32:54 UTC, Adam D. Ruppe wrote:
> 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.

Thanks, good to know!


More information about the Digitalmars-d-learn mailing list