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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.70 by greg, Thu Aug 18 00:52:48 2016 UTC vs.
Revision 2.71 by greg, Tue Feb 13 20:27:19 2018 UTC

# Line 162 | Line 162 | rtrace(                                /* trace rays from file */
162                  if (d == 0.0) {                         /* zero ==> flush */
163                          if (--nextflush <= 0 || !vcount) {
164                                  if (nproc > 1 && ray_fifo_flush() < 0)
165 <                                        error(USER, "lost children");
165 >                                        error(USER, "child(ren) died");
166                                  bogusray();
167                                  fflush(stdout);
168                                  nextflush = (vresolu > 0) & (hresolu > 1) ? 0 :
# Line 174 | Line 174 | rtrace(                                /* trace rays from file */
174                                                          /* flush if time */
175                          if (!--nextflush) {
176                                  if (nproc > 1 && ray_fifo_flush() < 0)
177 <                                        error(USER, "lost children");
177 >                                        error(USER, "child(ren) died");
178                                  fflush(stdout);
179                                  nextflush = hresolu;
180                          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines