2019年8月1日
摘要: import threading# 加锁metux = threading.Lock()age = 0class Metux(object): def f1(self): global age for i in range(10): metux.acquire() age = age + i met 阅读全文
posted @ 2019-08-01 15:32 Yihan_07 阅读(2141) 评论(0) 推荐(0) 编辑