Shared memory Management

R

Rekha

Hello
I am new to this group and also to the Shared Memory Programing on
Solaris.
I have written a class ShareMemoryManager to allocate space instead of
calling new to allocate space dynamically.
The problem I have is that I need to know what objects are created and
in which order in the memory by the first Program to retrive them from
my 2nd Program.
Any Suggessions or references are highly appriciated.
Many thanks in advance
Rekha
 
J

John Harrison

Rekha said:
Hello
I am new to this group and also to the Shared Memory Programing on
Solaris.
I have written a class ShareMemoryManager to allocate space instead of
calling new to allocate space dynamically.
The problem I have is that I need to know what objects are created and
in which order in the memory by the first Program to retrive them from
my 2nd Program.
Any Suggessions or references are highly appriciated.
Many thanks in advance
Rekha

Try this question in a Unix or Solaris programming forum, e.g.
there is no C++ content to your question so it
is off topic here.

john
 
J

John Harrison

John Harrison said:
Try this question in a Unix or Solaris programming forum, e.g.
there is no C++ content to your question so it
is off topic here.

john

Perhaps I was a bit hasty, your subject line confused me.

I suggest you post the code you have so far, sounds like you might need to
add a generation number to the blocks of memory you allocate. Hard to be
sure without seeing any code however.

john
 
E

Evan Carew

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rekha,

This is the classic serialization issue we all deal with from time to
time. As it happens, there is a rather good explanation of the issues in
the C++ lite FAQ. That being said, if you are under the gun and aren't
all that experienced in C++ usage, I reccomend one of the commercial
implementations of this process, such as Rogue Wave.

Evan
Hello
I am new to this group and also to the Shared Memory Programing on
Solaris.
I have written a class ShareMemoryManager to allocate space instead of
calling new to allocate space dynamically.
The problem I have is that I need to know what objects are created and
in which order in the memory by the first Program to retrive them from
my 2nd Program.
Any Suggessions or references are highly appriciated.
Many thanks in advance
Rekha

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFALPFCoo/Prlj9GScRAoQFAJsEToDCVUWGnx0WKLZoI0EZA3V2NgCeMcNr
/SvASoCZz7qwoLCz2Mf3KYA=
=ltdL
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,426
Latest member
MrMet

Latest Threads

Top