Bug#872470: Fixed busy-wait loop

2019-06-26 Thread bw
On Sat, 22 Jun 2019, Jeremy Sowden wrote: > The package includes a patch to fix seg-faults which can occur by > sending repeated SIGINTs or SIGTERMs. However, it does this by > introducing a busy-wait loop which wakes the process up ten times a > second. > > I've attached an updated version of i

Bug#872470: Fixed busy-wait loop

2019-06-22 Thread Jeremy Sowden
The package includes a patch to fix seg-faults which can occur by sending repeated SIGINTs or SIGTERMs. However, it does this by introducing a busy-wait loop which wakes the process up ten times a second. I've attached an updated version of it which uses a blocking select(2) instead. J. Descript