Hello,
I want to store an object to shared memory (created with apr_shm_create). For
example the structure is:
struct mystr {
struct mystr* next;
char* data;
size_t dsize;
};
struct mystr* obj;
If I allocate SHM for the object, I can attached from another process to the
object. But the members of the object (SHM allocations too) have pointers
from creation process.
The process, which attached the SHM get another pointer value (using
apr_rmm_init too).
Is there any trick to get the same pointer values, the same value in
different processes?
Thank you for an idea.
Manfred