[skip ci] N_threads is not correct, we use processes

This commit is contained in:
Martin Diehl 2020-03-03 14:57:48 +01:00
parent 16b4a63c58
commit c06ef00fe2
1 changed files with 2 additions and 3 deletions

View File

@ -919,8 +919,7 @@ class Result():
Arguments parsed to func.
"""
N_threads = int(Environment().options['DAMASK_NUM_THREADS'])
pool = multiprocessing.Pool(N_threads)
pool = multiprocessing.Pool(int(Environment().options['DAMASK_NUM_THREADS']))
lock = multiprocessing.Manager().Lock()
groups = self.groups_with_datasets(datasets.values())