We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67c6c82 commit 02296bcCopy full SHA for 02296bc
src/runtime/signal_unix.go
@@ -202,7 +202,7 @@ func sigenable(sig uint32) {
202
enableSigChan <- sig
203
<-maskUpdatedChan
204
if atomic.Cas(&handlingSig[sig], 0, 1) {
205
- atomic.Storeuintptr(&fwdSig[sig], getsig(sig))
+ // atomic.Storeuintptr(&fwdSig[sig], getsig(sig))
206
setsig(sig, abi.FuncPCABIInternal(sighandler))
207
}
208
@@ -232,7 +232,7 @@ func sigdisable(sig uint32) bool {
232
// we should remove the one we installed.
233
if sigInstallGoHandler(sig) {
234
235
236
237
238
return false
0 commit comments