Answers for "multigreading sys.exit does not work"

0

multigreading sys.exit does not work

sys.exit() raises the SystemExit exception, as does thread.exit(). 
So, when sys.exit() raises that exception inside that thread, 
it has the same effect as calling thread.exit(), 
which is why only the thread exits.
Posted by: Guest on May-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language