WebLinuxStudy

导航

 

2019年11月26日

摘要: 1.进程锁:from multiprocessing import Process, Lock def f(l, i): l.acquire() print('hello world', i) l.release() if __name__ == '__main__': lock = Lock() 阅读全文
posted @ 2019-11-26 15:05 WebLinuxStudy 阅读(1583) 评论(0) 推荐(0) 编辑