多线程-互斥锁或死锁
摘要:
1.简单的多线程: import threading import time def say(name): print('%s 子线程 start ' % name) time.sleep(10) print('%s 子线程 stop'%name) global a a='chenwei' if _ 阅读全文
posted @ 2019-08-01 19:18 chen_2987 阅读(129) 评论(0) 推荐(0) 编辑