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.72 by greg, Thu Nov 8 00:54:07 2018 UTC

# Line 28 | Line 28 | static const char      RCSid[] = "$Id$";
28   #include  "ambient.h"
29   #include  "source.h"
30   #include  "otypes.h"
31 + #include  "otspecial.h"
32   #include  "resolu.h"
33   #include  "random.h"
34  
# Line 162 | Line 163 | rtrace(                                /* trace rays from file */
163                  if (d == 0.0) {                         /* zero ==> flush */
164                          if (--nextflush <= 0 || !vcount) {
165                                  if (nproc > 1 && ray_fifo_flush() < 0)
166 <                                        error(USER, "lost children");
166 >                                        error(USER, "child(ren) died");
167                                  bogusray();
168                                  fflush(stdout);
169                                  nextflush = (vresolu > 0) & (hresolu > 1) ? 0 :
# Line 174 | Line 175 | rtrace(                                /* trace rays from file */
175                                                          /* flush if time */
176                          if (!--nextflush) {
177                                  if (nproc > 1 && ray_fifo_flush() < 0)
178 <                                        error(USER, "lost children");
178 >                                        error(USER, "child(ren) died");
179                                  fflush(stdout);
180                                  nextflush = hresolu;
181                          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines