03f6c323579d0d9c92ea1b8559e55be67af9b6c1,pysos/sos_step.py,MP_Step_Executor,submit_task,#MP_Step_Executor#Any#,1153
Before Change
else:
// execute in existing process
self.proc_results.append(
execute_task( // function
self.step.task, // task
"", // local execusion, no need to re-run global
// do not clone dict
env.sos_dict,
signature,
self.step.sigil
) )
def wait_for_results(self):
from multiprocessing.pool import AsyncResult
After Change
if self.pool:
param = TaskParams(
name = "{} (index={})".format(self.step.step_name(), env.sos_dict["_index"] ),
data = (
self.step.task, // task
self.step.global_def, // global process
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances Project Name: vatlab/SoS
Commit Name: 03f6c323579d0d9c92ea1b8559e55be67af9b6c1
Time: 2016-10-19
Author: ben.bog@gmail.com
File Name: pysos/sos_step.py
Class Name: MP_Step_Executor
Method Name: submit_task
Project Name: vatlab/SoS
Commit Name: d85c87182a4eb2434bf3bd4d540217ce68125949
Time: 2017-04-07
Author: ben.bog@gmail.com
File Name: sos/sos_task.py
Class Name: TaskEngine
Method Name: run
Project Name: vatlab/SoS
Commit Name: 03f6c323579d0d9c92ea1b8559e55be67af9b6c1
Time: 2016-10-19
Author: ben.bog@gmail.com
File Name: pysos/sos_step.py
Class Name: Base_Step_Executor
Method Name: submit_task