[action] remove multiprocessing

This commit is contained in:
supperthomas 2024-08-24 12:27:34 +00:00 committed by Meco Man
parent cc4965cb4c
commit 372c841912
1 changed files with 6 additions and 5 deletions

View File

@ -309,12 +309,13 @@ def bsp_scons_worker(project_dir):
processes = []
for project_dir in sconstruct_paths:
p = Process(target=bsp_scons_worker, args=(project_dir,))
p.start()
processes.append(p)
bsp_scons_worker(project_dir)
#p = Process(target=bsp_scons_worker, args=(project_dir,))
#p.start()
#processes.append(p)
for p in processes:
p.join() # 等待所有进程完成
#for p in processes:
# p.join() # 等待所有进程完成
print('finished!')