$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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