current thread pool is useless for performance

https://stackoverflow.com/questions/33969151
https://stackoverflow.com/questions/10789042
This commit is contained in:
Martin Diehl 2020-02-16 11:00:09 +01:00
parent 95cfa3f173
commit 251d55fe09
1 changed files with 1 additions and 1 deletions

View File

@ -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)