1

I am trying to share memory between processes after a fork(), boost::interprocess offers a way to do exactly this by using their anonymous_shared_memoryas shown here. However the library also provides managed_shared_memory objects which have very useful allocators and deallocators. But it doesn't seem possible to create a managed_shared_memory object from the mapped_region returned by the anonymous_shared_memory call. Am I missing something ?

user3559888
  • 1,157
  • 1
  • 9
  • 12

0 Answers0