multigreading sys.exit does not work code example
Example: 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.