How do I use shared memory the same was as the heap memory?
You need to phrase your question more specifically. In general, you do
use shared memory (among processes) the same way you use heap memory
> How do I use shared memory the same was as the heap memory?
> Rolf Schlup
The ACE class index
Search this page for ACE_Shared_*
High Performance, fault tolerant, distributed, real-time computing
<<-------->> Johns Hopkins Applied Physics Laboratory <<--------->>
Balt:443-778-6330 Fax:443-778-5597 Wash:240-228-6330 Fax:240-228-5597
How do I use shared memory the same as the heap memory? I want to put an
object in shared memory which will then be accessed and run by different
Sproc'ed processes. The only way I can think of is to send a pointer to
shared memory. But when I kill the process that created the instance of the
object, the pointer will be invalid. Is there a way to copy or create an
instance of an object in shared memory. I am using shm.h.