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

Comparing ray/src/rt/raypcalls.c (file contents):
Revision 2.4 by schorsch, Mon Jul 21 22:30:19 2003 UTC vs.
Revision 2.5 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 189 | Line 189 | ray_pflush()                   /* send queued rays to idle children */
189   {
190          int     nc, n, nw, i, sfirst;
191  
192 <        if ((ray_pnidle <= 0 | r_send_next <= 0))
192 >        if ((ray_pnidle <= 0) | (r_send_next <= 0))
193                  return(0);              /* nothing we can send */
194          
195          sfirst = 0;                     /* divvy up labor */
# Line 469 | Line 469 | int    nsub;
469                  return;
470          inclose++;
471                                          /* check argument */
472 <        if ((nsub <= 0 | nsub > ray_pnprocs))
472 >        if ((nsub <= 0) | (nsub > ray_pnprocs))
473                  nsub = ray_pnprocs;
474                                          /* clear our ray queue */
475          while (ray_presult(&res,0) > 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines