摘要: from threading import Thread,Lock,RLock import time def gg(A,B): A.acquire() time.sleep(0.5) print('hah拿到锁') B.acquire() print('hah拿到锁') A.release() B 阅读全文
posted @ 2018-12-03 20:47 好大一个圈 阅读(2546) 评论(0) 推荐(1) 编辑