Path: utzoo!news-server.csri.toronto.edu!rutgers!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!cernvax!chx400!chx400!bernina!biophys!messerli From: messerli@biophys.zir.ethz.ch (Marius Messerli) Newsgroups: comp.sys.sgi Subject: sproc(2) and winopen() together Summary: Question: How do sproc calls work together with the graphics master? Keywords: share group processes Message-ID: <7858@biophys.zir.ethz.ch> Date: 13 Mar 91 10:11:22 GMT Organization: Biophysics Institute ETHZ Switzerland Lines: 30 I'm trying to get a piece of code using sproc(2) together with winopen(). The program consists of a process handler with no connection to the graphics master, a graphical user_interface and the application suroutines that have their own windows. I have two main problems: - As soon as a share group process opens a connection to the graphics master (does winopen call) it cannot change the global variables "backward" so that the process handler gets them. To give the user_interface the possibility to tell the process handler what to I use a pipe (although globals would be more appropriate). - Although having set the PR_SALL flag in all sporc calls the individual application subroutines (each having its own window) do have their own copy of the data! It seems that after a winopen call the share group process makes its own copy of the data space ? Is that so ? Thank you for any explanations and hints. ========================================= Marius Messerli Institute for Cell Biology ETH-Zuerich messerli@zellbio.ethz.ch ========================================