SIGUSR1, SIGUSR2
Panke
tobias at pankrath.net
Fri Dec 11 19:54:54 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.
For lldb
breakpoint set -n _Dmain --auto-continue true -N OnMain
breakpoint command add -o "pro hand -p true -s false -n false
SIGUSR1 SIGUSR2" OnMain
does the trick.
More information about the Digitalmars-d-learn
mailing list