📜  multigreading sys.exit 不起作用 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:47.702000             🧑  作者: Mango

代码示例1
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.