摘要: GIL与普通互斥锁区别 # 1.先验证GIL的存在 from threading import Thread, Lock import time money = 100 def task(): global money money -= 1 for i in range(100): # 创建一百个线 阅读全文
posted @ 2022-04-21 19:36 小金同学要加油 阅读(31) 评论(0) 推荐(0)