摘要:
#GIL:解释器级别的锁(保护的就是解释器级别的数据),同一时间只能有一个线程来执行 from threading import Thread import time n=100 def work(): time.sleep(0.1) global n temp=n time.sleep(0.1) 阅读全文
posted @ 2020-03-28 22:01
happygril3
阅读(81)
评论(0)
推荐(0)

浙公网安备 33010602011771号