92 |
|
{ |
93 |
|
if (ray_pnprocs > 0) /* close children if any */ |
94 |
|
ray_pclose(0); |
95 |
+ |
else if (ray_pnprocs < 0) |
96 |
+ |
_exit(code); /* avoid flush() in child */ |
97 |
|
#ifndef NON_POSIX |
98 |
< |
else if (!ray_pnprocs) { |
98 |
> |
else { |
99 |
|
headclean(); /* delete header file */ |
100 |
|
pfclean(); /* clean up persist files */ |
101 |
|
} |
166 |
|
if (nproc > 1) { /* start multiprocessing */ |
167 |
|
ray_popen(nproc); |
168 |
|
ray_fifo_out = printvals; |
167 |
– |
ray_pnbatch = 1; /* optimize for throughput */ |
169 |
|
} |
170 |
|
if (hresolu > 0) { |
171 |
|
if (vresolu > 0) |