|
Boost Users : |
From: hgdhfdghsa_at_[hidden]
Date: 2008-04-15 14:48:06
Hello again,
I have one managed_shared_memory, which contains exactly one instance of a certain structure, allocated via MySegment.find_or_construct<TheClass>(interprocess::unique_instance)(...);
How can I determine how big the segment must be?
interprocess::managed_shared_memory ConfigurationManagerSegment(interprocess::open_or_create,
"sharedMem",
sizeof(TheClass)+x); //What should be x?
Thank you
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net