mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-09-01 17:23:42 +02:00
Bug with recent versions of Python
Version:1.1.60
This commit is contained in:
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
Block a user