摘要:
what did you learn from your last class?20:09:07abc360.Draven/PHH-HA04 ☠ 2018/4/9 20:09:07poop20:12:42abc360.Draven/PHH-HA04 ☠ 2018/4/9 20:12:42its so 阅读全文
摘要:
#coding=utf-8import multiprocessing as mpimport time def consumer(cond): with cond: print "consumer before wait" cond.wait() print "consumer after wai 阅读全文
摘要:
#coding=utf-8import multiprocessing as mp def write_file(content,lock): lock.acquire() with open(r"d:\\0409.txt",'a') as fp: fp.write(content+'\n') lo 阅读全文