views:

79

answers:

0

I have a problem with boost::interprocess::string in shared memory.

When I use a shared_memory_object I can manipulate a structure with different fields, BUT strings (I get a segmentation fault).
On the other side, when I use managed_shared_memory everything is fine.

Am I doing something wrong? Do you know if there is a performance penalty using managed_shared_memory?

Thank you!