Boost logo

Boost Users :

Subject: [Boost-users] How to get the name of a boost::interprocess::managed_shared_memory::segment_manager
From: Markus Bader (bader_at_[hidden])
Date: 2012-08-31 04:29:54


Hi

I created a boost::interprocess::managed_shared_memory::segment_manager
with an name an size.
Afterwords I like to get the name again, but how?

managed_shared_memory shm(create_only, "myShm", 65536)
std::string name = shm.get_name()? // does not exist
std::string name = shm.get_device().get_name();? // is not accessable

Any ideas

Greetings
Markus


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