mirror of https://gitlab.com/scemama/irpf90.git
parent
b9849d2700
commit
7431c67309
|
@ -158,11 +158,11 @@ def parallel_loop(f,source):
|
|||
file.close()
|
||||
|
||||
if fork == 0:
|
||||
sys.exit(0)
|
||||
os._exit(0)
|
||||
|
||||
for i in xrange(1,NTHREADS):
|
||||
if os.waitpid(pidlist[i],0)[1] != 0:
|
||||
sys.exit(0)
|
||||
os._exit(0)
|
||||
|
||||
result = []
|
||||
for filename,text in source:
|
||||
|
|
Loading…
Reference in New Issue