Closed oleiade closed 12 years ago
Non-blocking was used in order to be able to .join() a Worker's thread, when a Keyboard interrupt was caught on elevator.
Solution is : using internal constants (WORKER_HALT) that the workers pool will send to each workers. Wend this internal is received, then the worker knows it has to stop.
Decreases performances in an order of 10x