python多线程
没有返回值子线程的多线程
%
from multiprocessing import Process
def fun(para1, para2, para3):
pass
if __name__ == '__main__':
num_thread = 16
processes = []
for i in range(num_thread):
proc = Process(target=fun, args=(para1, para2, para3))
原创
2020-05-22 16:30:15 ·
161 阅读 ·
0 评论