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

Comparing ray/src/util/rad.c (file contents):
Revision 2.84 by greg, Tue Mar 11 12:42:07 2008 UTC vs.
Revision 2.86 by greg, Thu Aug 21 07:05:59 2008 UTC

# Line 1197 | Line 1197 | rvu(                           /* run rvu with first view */
1197          if (sayview)
1198                  myprintview(vw, stdout);
1199          sprintf(combuf, "rvu %s%s%s -R %s ", vw, po, opts, rifname);
1200 +        if (nprocs > 1)
1201 +                sprintf(combuf+strlen(combuf), "-n %d ", nprocs);
1202          if (rvdevice != NULL)
1203                  sprintf(combuf+strlen(combuf), "-o %s ", rvdevice);
1204          if (vdef(EXPOSURE))
# Line 1483 | Line 1485 | wait_process(                  /* wait for process(es) to finish */
1485          int     all
1486   )
1487   {
1488 <        int     ourstatus = 0;
1489 <        RT_PID  pid, status;
1488 >        int     ourstatus = 0, status;
1489 >        RT_PID  pid;
1490  
1491          if (all)
1492                  all = children_running;
# Line 1521 | Line 1523 | int    all;
1523   }
1524   int
1525   kill(pid, sig) /* win|unix_process.c should also wait and kill */
1526 < RT_PID pid, sig;
1526 > RT_PID pid;
1527 > int sig;
1528   {
1529          return 0;
1530   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines