Re: global variables sharing among processes

New Message Reply Date view Thread view Subject view Author view

Anita Kishore (kishore++at++triavest.com)
Thu, 12 Jun 1997 10:36:38 -0700


On Jun 9, 12:45pm, Rémi Arnaud wrote:
> Subject: Re: global variables sharing among processes
> Charlie H. Chang wrote:
> >
> > I have a Performer program, and when I update some of the global
> > variables,
> > it doesn't propagate to other processes.
> > I thought Performer uses sproc to fork child processes, so all global
> > variables are
> > shared among child processes. Is that right?
>
> No, Performer uses fork, which explains your problem.
> You have to use the shared arena to share data between processes,
> furthermore, you have to use pfCycleBuffer to manage the multiple
> values a data can have when used by more than one process in different
> stages of the pfPipe pipeline.
>

Or You could also use pf data pools.

-anita

===================================List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com
   SGI DevForum 97 info: http://www.sgi.com/Forum97/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:26 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.