• Ian Lance Taylor's avatar
    runtime: don't block signals that will kill the program · eb97160f
    Ian Lance Taylor authored
    Otherwise we may delay the delivery of these signals for an arbitrary
    length of time. We are already careful to not block signals that the
    program has asked to see.
    
    Also make sure that we don't miss a signal delivery if a thread
    decides to stop for a while while executing the signal handler.
    
    Also clean up the TestAtomicStop output a little bit.
    
    Fixes #21433
    
    Change-Id: Ic0c1a4eaf7eba80d1abc1e9537570bf4687c2434
    Reviewed-on: https://go-review.googlesource.com/79581
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    eb97160f
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...