attach to a pfDataPool - working code?

New Message Reply Date view Thread view Subject view Author view

From: Dan Johnston (dan.johnston++at++nrc.ca)
Date: 12/18/2001 05:17:32


Hi all Performers;

Does anyone have a snippet of working code they
could send me where you 'attach' to a shared
memory pfDataPool (a file in /usr/tmp)
by name?

I can create a pfDataPool, but I cannot get
the same program (run a second time) or
another program to attach to an existing
DPool when I supply the same char string as
the name (or any variations that I can think
of).

I have tried this using both the C++ and
C API.

Any help would be appreciated. Thanks.
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!


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Dec 18 2001 - 05:23:09 PST

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