【问题标题】:`boost::multi_index_container` in shared memory?共享内存中的`boost::multi_index_container`?
【发布时间】:2012-01-31 16:17:44
【问题描述】:

我会对共享内存中的多索引容器之类的东西感兴趣。

是否可以在共享内存中分配例如boost::multi_index_container,以便不同的可执行文件可以读取/写入其数据?如何?

谢谢。

【问题讨论】:

    标签: boost shared-memory multi-index boost-multi-index


    【解决方案1】:

    我有googled...

    Boost.Interprocess 似乎很合适。来自this页面:

    广泛使用的 Boost.MultiIndex 库与 Boost.Interprocess 兼容,因此我们可以在共享内存中构建非常好的数据库。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-11
      • 2014-12-02
      • 2020-10-19
      • 2015-02-14
      相关资源
      最近更新 更多