Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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.
 
PREVIOUS NEXT
Tagged: #multigreading #work
ADD COMMENT
Topic
Name
6+1 =