문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top