John Rohlf (jrohlf++at++tubes)
Tue, 22 Mar 94 14:16:11 PST
An interaction is possible since pfNewDPool sets up some usconfig
parameters that will be inherited by your usinit but these
default are almost always reasonable:
usconfig(CONF_INITUSERS, MAXDPUSERS); /* up to MAXDPUSERS users */
usconfig(CONF_ARENATYPE, US_GENERAL); /* allow unrelated processes */
usconfig(CONF_LOCKTYPE, US_NODEBUG); /* fastest locks */
Also, you may have trouble mapping datapools to the same
virtual address if you have your own usinit arenas that
aren't shared by everyone. Perhaps jimh could comment on this?
> More generally: What is the best way to share memory between non-related
> processes in Performer without having to link with Performer on both
> processes.
usinit and usgetinfo/usputinfo are what datapools use so this
method should be OK.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:13 PDT