Darin C. Partridge (darin++at++paradox.idec.sdl.usu.edu)
Mon, 22 May 1995 16:43:55 -0600
*******************************************************
/* Get pointer to shared memory malloc arena created by pfInit()*/
arena = pfGetSharedArena();
/*
* Malloc structures now, before pfConfig(), so forked processes have same
* pointers.
*/
ViewState = (SharedViewState *) pfCalloc(1, sizeof(SharedViewState),
arena);
*******************************************************
My question is, can I get a pointer to "ViewState" from a completely
unrelated process. I want to run a completely seperate process that can
monitor/update items in this structure.
Thanks for any help/code,
Darin
--
_ _
__(_)__ ,,, __(_)__
(_______) (o o) (_______)
| |-------------------------------------oOO--(_)--OOo--| |
| | Darin C. Partridge _________ | |
| | Space Dynamics Laboratory (CSD) | | | |
| | 1695 North Research Parkway | Gone | | |
| | Logan, UT 84321 | Fishing | | |
| | |_________| | |
| | Voice: (801) 755-4348 ____________ | |
| | Fax: (801) 755-4366 /___________/ | |
| | Email: darin++at++sdl.usu.edu | |
|_____|----------------------------------------------------|_____|
(_____) (http://www.csd.sdl.usu.edu/darin_exec/homedoc) (_____)
(_) (_)
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:30 PDT