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

threading.current_thread()
threading.current_thread().ident

猜你喜欢

转载自www.cnblogs.com/apollo1616/p/10206020.html