bug fix: epochs, process control (generator)
This commit is contained in:
parent
6e0f89cd3c
commit
205adf8fa6
|
@ -327,6 +327,8 @@ if __name__ == '__main__' :
|
||||||
job.name = 'generator # '+str(index)
|
job.name = 'generator # '+str(index)
|
||||||
job.start()
|
job.start()
|
||||||
jobs.append(job)
|
jobs.append(job)
|
||||||
|
if len(jobs) == 1 :
|
||||||
|
job.join()
|
||||||
|
|
||||||
print (["Started ",len(jobs),"generators" if len(jobs)>1 else "generator" ])
|
print (["Started ",len(jobs),"generators" if len(jobs)>1 else "generator" ])
|
||||||
while len(jobs)> 0 :
|
while len(jobs)> 0 :
|
||||||
|
|
Loading…
Reference in New Issue