If you use multiprocessing you call terminate() to kill a thread/process at any time and then immediately continue on. Call join() also to clean up anything that may still exist in the background https://pymotw.com/3/multiprocessing/bas...-processes See my simple example at https://python-forum.io/Thread-Parallel-...0#pid43980
Using Terminating Signal to Terminate Long Threads
Using Terminating Signal to Terminate Long Threads
|
|
Messages In This Thread |
Using Terminating Signal to Terminate Long Threads - by crcali - Apr-05-2018, 06:07 PM
RE: Using Terminating Signal to Terminate Long Threads - by woooee - Apr-06-2018, 01:26 AM
|
Users browsing this thread: 2 Guest(s)