ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/unix_process.c
(Generate patch)

Comparing ray/src/common/unix_process.c (file contents):
Revision 3.12 by greg, Fri Mar 4 19:16:49 2016 UTC vs.
Revision 3.13 by greg, Fri Mar 24 12:56:12 2017 UTC

# Line 88 | Line 88 | int nproc
88                          close(pd[i].w);
89                          close(pd[i].r);
90                          pd[i].running = 0;
91 <                }
91 >                } else
92 >                        togo -= (pd[i].pid < 0);
93          if (nproc == 1) {                       /* await specific process? */
94                  if (waitpid(pd->pid, &status, 0) != pd->pid)
95                          return(-1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines