Thread-safe Signal Api In Python 2.7
I have a multi-threaded program and want to catch SIGINT. I tried using the signal interface but it appears to stop doing anything when the program uses threading. What is the corr
Solution 1:
Only the main thread is listening to SIGINT. Make sure all threads are listening to the SIGINT value.
Post a Comment for "Thread-safe Signal Api In Python 2.7"