propagate keyboard interrupts from worker threads
Review Request #2143 - Created April 30, 2015 and submitted
|Nick Howard (Twitter)|
|benjyw, davidt, stuhood, zundel|
If a worker thread happens to be the active thread, Ctrl-C will kill it, but not the pants process because the interrupt isn't propagated to the main thread. This changes the WorkerPool s.t. it's work definition will intercept a keyboard interrupt and interrupt main.
Wrote a regression test, made it pass, CI baking on PR.
Add an acquire to the regression test
Revision 2 (+52)
Status: Closed (submitted)
merged at 0300c22c98fd486c7571e343dea76fc8f2db3152