![]() It is possible for an os.Interrupt signal to be raised after signals.RegisterCloser() and before startup of goroutine signals.Handle(). Race is prevented by synchronously calling signal.Notify(). |
||
---|---|---|
.. | ||
closers.go | ||
interrupt.go | ||
unix.go | ||
win32.go |
![]() It is possible for an os.Interrupt signal to be raised after signals.RegisterCloser() and before startup of goroutine signals.Handle(). Race is prevented by synchronously calling signal.Notify(). |
||
---|---|---|
.. | ||
closers.go | ||
interrupt.go | ||
unix.go | ||
win32.go |