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 |
|
|
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 : |
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 |
|
} |