# __author: "ZXYang"
# date: 2020/5/18
from multiprocessing import Process
import time
def pr(name):
print(‘process‘, time.ctime())
if __name__ == ‘__main__‘:
ps = []
for i in range(10):
a = Process(target=pr, args=(‘li‘,))
ps.append(a)
a.start()
for p in ps:
p.join()
print(‘vip‘)
原文:https://www.cnblogs.com/zxy01/p/14165729.html