摘要: 一、验证GIL的存在 from threading import Thread money = 100 def task(): global money money -= 1 t_list = [] for i in range(100): t = Thread(target=task) t.sta 阅读全文
posted @ 2022-08-11 17:15 stephen_hao 阅读(34) 评论(0) 推荐(0) 编辑