摘要: GIL(全局解释器锁)与普通互斥锁 GIL存在的验证 from threading import Thread, Lock money = 100 def task(): global money money -= 1 for i in range(100): t = Thread(target=t 阅读全文
posted @ 2022-04-25 17:28 Oliver-Chance 阅读(25) 评论(0) 推荐(0) 编辑