摘要: Process Lock 1 # from multiprocessing import Lock 2 # lock = Lock() 3 # lock.acquire() # 需要锁,拿钥匙 4 # lock.acquire() # 需要锁,阻塞 5 # lock.release() # 释放锁, 阅读全文
posted @ 2018-02-05 11:47 liuyankui163 阅读(844) 评论(0) 推荐(0) 编辑