Re: Shared Variables

New Message Reply Date view Thread view Subject view Author view

From: Tom Flynn (flynnt++at++cthulhu.engr.sgi.com)
Date: 09/08/2000 14:21:52


If you're using SharedArenas with 2.3 or 2.3.1, then that's the problem.
Performer 2.3 and 2.3.1 are single-process only and do not implement
SharedArenas. If you're GUI must run in a separate process, then you'll
have to create a shared memory area yourself with shmget(), shmat(), etc.

-tom

On Thu, 7 Sep 2000, Surya k Gullapalli wrote:

> Hi,
> I'm using Performer on Linux and for the pefly program I'm trying to use my own GUI. For that I wrote GUI in LessTif and in main.C I've forked this GUI as a seperate process.
> The callback functions added to the buttons in the GUI, were able to access the shared variables, say ViewState->gui, for example.
>
> Now the problem is, the callback functions were not able to update the shared variables. what might be the problem. ?. How do i make the callback back functions modify the shared variables. ??
> Please help
>
>
> Get your FREE Email and Voicemail at Lycos Communications at
> http://comm.lycos.com
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>

--
"Mongooses are famous for their snake-fighting ability, and are
 almost always victorious because of their speed, agility, and timing
 and also because of their thick coat."


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Sep 08 2000 - 14:21:57 PDT

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