threading.current_thread() threading.current_thread().ident 转载于:https://www.cnblogs.com/apollo1616/p/10206020.html