[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. Arguments parsed to func.
""" """
N_threads = int(Environment().options['DAMASK_NUM_THREADS']) pool = multiprocessing.Pool(int(Environment().options['DAMASK_NUM_THREADS']))
pool = multiprocessing.Pool(N_threads)
lock = multiprocessing.Manager().Lock() lock = multiprocessing.Manager().Lock()
groups = self.groups_with_datasets(datasets.values()) groups = self.groups_with_datasets(datasets.values())
@ -1097,7 +1096,7 @@ class Result():
################################################################################################### ###################################################################################################
# BEGIN DEPRECATED # BEGIN DEPRECATED
iter_visible = iter_selection iter_visible = iter_selection
def _time_to_inc(self,start,end): def _time_to_inc(self,start,end):
selected = [] selected = []