2024-09-27 09:31:16 发布
网友
Possible Duplicate:python - how to get the numebr of active threads started by specific class?
我是python新手,我想随时获得运行线程的计数…是否有内置的支持,或者我必须手动维护它(例如count veriable…)?
threading.active_count()似乎就是你要找的:
Return the number of Thread objects currently alive
threading.active_count()似乎就是你要找的:
相关问题 更多 >
编程相关推荐