I have a thread that executes when some action happens. Given the logic of the program, a thread cannot be started while another instance of it is still running. However, when I call it a second time, I get the error message "RuntimeError: thread already started". I added a check to make sure she is really alive using the Thread.is_alive () function, and she is actually dead.
What am I doing wrong?
I can provide more detailed information as needed.
python multithreading runtime-error
Mel kaye
source share