摘要: GIL与普通互斥锁区别 # 验证GIL的存在 from threading import Thread count = 100 def task(): global count count -= 1 for i in range(100): # 创建一百个线程 t = Thread(target=t 阅读全文
posted @ 2022-04-21 22:15 一梦便是数千载 阅读(41) 评论(0) 推荐(0)