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

Comparing ray/src/rt/rmain.c (file contents):
Revision 2.35 by greg, Wed Dec 21 09:51:52 1994 UTC vs.
Revision 2.36 by greg, Thu Apr 27 14:12:10 1995 UTC

# Line 51 | Line 51 | char  *getlibpath();                   /* library directory list */
51  
52   char  *sigerr[NSIG];                    /* signal error messages */
53  
54 + char  *shm_boundary = NULL;             /* boundary of shared memory */
55 +
56   extern char  VersionID[];               /* version ID string */
57  
58   extern int  stderr_v();                 /* standard error output */
# Line 667 | Line 669 | char  *argv[];
669                  }
670                  if (persist == PARALLEL) {      /* multiprocessing */
671                          preload_objs();         /* preload scene */
672 +                        strcpy(shm_boundary=bmalloc(16), "SHM_BOUNDARY");
673                          while ((rval=fork()) == 0) {    /* keep on forkin' */
674                                  pflock(1);
675                                  pfhold();

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)