current thread pool is useless for performance
https://stackoverflow.com/questions/33969151 https://stackoverflow.com/questions/10789042
This commit is contained in:
parent
95cfa3f173
commit
251d55fe09
|
@ -1032,7 +1032,7 @@ class DADF5():
|
|||
args['results'].put({**args['func'](**args['in']),'group':args['group']})
|
||||
|
||||
env = Environment()
|
||||
N_threads = int(env.options['DAMASK_NUM_THREADS'])
|
||||
N_threads = 1#int(env.options['DAMASK_NUM_THREADS'])
|
||||
|
||||
results = Queue(N_threads)
|
||||
pool = util.ThreadPool(N_threads)
|
||||
|
|
Loading…
Reference in New Issue