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

Comparing ray/src/rt/rtmain.c (file contents):
Revision 2.14 by greg, Wed Apr 5 06:22:57 2006 UTC vs.
Revision 2.15 by greg, Thu Sep 13 20:02:11 2007 UTC

# Line 309 | Line 309 | main(int  argc, char  *argv[])
309                          while ((rval=fork()) == 0) {    /* keep on forkin' */
310                                  pflock(1);
311                                  pfhold();
312 +                                ambsync();              /* load new values */
313                          }
314                          if (rval < 0)
315                                  error(SYSTEM, "cannot fork child for persist function");
316 <                        pfdetach();             /* parent exits */
316 >                        pfdetach();             /* parent will run then exit */
317                  }
318          }
319   runagain:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines