Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/util/signals
John Smith 92c92e09c1
Prevent race condition.
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().
2017-05-28 19:57:07 +10:00
..
closers.go properly handle os.Interrupt Signal 2017-05-10 08:23:29 -04:00
interrupt.go properly handle os.Interrupt Signal 2017-05-10 08:23:29 -04:00
unix.go Prevent race condition. 2017-05-28 19:57:07 +10:00
win32.go Prevent race condition. 2017-05-28 19:57:07 +10:00