子线程在Python中退出时如何通知其父线程?

时间:2019-06-25 10:47:20

标签: python multithreading events

当其子线程之一在Python中退出时,如何在主线程上下文中触发函数? 现在,我必须在主线程中使用长轮询才能意识到其子线程之一已退出。

0 个答案:

没有答案