Question

I would be interested in something like a multi index container in shared memory.

Is it possible to allocate, e.g., a boost::multi_index_container in shared memory, so that different executables can read/write its data? How?

Thank's.

Était-ce utile?

La solution

I've googled...

Boost.Interprocess seems to fit. From this page:

The widely used Boost.MultiIndex library is compatible with Boost.Interprocess so we can construct pretty good databases in shared memory.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top