mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 00:37:05 +08:00
[action] remove multiprocessing
This commit is contained in:
parent
cc4965cb4c
commit
372c841912
@ -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!')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user