From: Dan Johnston (dan.johnston++at++nrc.ca)
Date: 12/13/2001 10:54:01
Hi Performers!
I would like to establish a shared memory link to a
separate compute-bound process (i.e. not part of
the performer app-cull-isect-draw process
group). There is a lot of data to exchange between
the processes so my existingTCPIP connection
would be too slow.
I was looking at pfMemory with a shared memory
arena, then I spotted pfDataPool and the code
in /usr/share/Performer/src/lib/libpfutil/shmem.c
DataPool memory is more attractive because it
already has the lock/unlock and reference
count built in.
I know that Performer uses the mapped memory
in "/usr/tmp/pfutil....dpool" for its own internal
use (store classes of texture, xwin. GUI, mouse, etc).
Can I create another mapped memory pool for
my data exchange? Will it interfer with the
existing (new mapped name of course)? Can
I create pfObject classes in this memory?
Is there a better way that would allow me to use
either a temp file or pure memory depending
on the size of data transfer?
Thanks for your help!
Dan
--
___|__ |
/ | \ ||\ Daniel (Dan) Johnston
/___|___\ || \ Dan.Johnston++at++nrc.ca
_____|____ || \ National Research Council of Canada, London, ON
| | | || \ Integrated Manufacturing Technologies Institute
\___| | | ||____\ Tel: (519) 430-7081 Fax: (519) 430-7090
\_o_\___|____|_|______\_ Inst: http://www.nrc.ca/imti
\ o / These opinions are my own! Not those of NRC.
\________________/ Virtual Reality:
http://www.nrc.ca/imti/vetc/home.html
More Tall Ships - Fewer Computers!
This archive was generated by hypermail 2b29 : Thu Dec 13 2001 - 11:01:22 PST