Fork me on GitHub

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

摘要: 1、获取线程ID(线程是操作系统中最小的调度单位) import threading t = threading.currentThread() #线程ID print('Thread id : %d' % t.ident) #线程NAME print('Thread name : %s' % t. 阅读全文
posted @ 2022-12-28 10:12 365/24/60 阅读(176) 评论(0) 推荐(0) 编辑