在函数中如何获取 线程对象、线程唯一ID

threading.current_thread()
threading.current_thread().ident
原文地址:https://www.cnblogs.com/apollo1616/p/10206020.html