同步操作将从 sylar/shm_container 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Shared-memory is best known as an effective IPC method, moreover, it is a powerful design pattern in server architecture with some notable features:
Many popular high-volume internet services (such as QQ server) have benefit from usage of shared-memory techniques. However it is not as easy as using in-process libraries (such as STL) when working with OS shm interface, because you have to manage memory pages directly. So what this project is valuable is that it offers a collection of shared-memory containers with familiar interface for you, and also with the following features:
See document of classes in namespace shmc for detail.
Currently only Linux/x86 platform is supported. Moreover, its design goal is all for server side application.
The library consists only C++ headers, so importing it in your project is very easy (just add -I dir). It also provides a bazel BUILD file so just set deps on it if you are using bazel.
If you want to build unit-tests, install bazel and gtestx first.
You can find document online here: SHM-Container Documentation
Also you can generate doc from source: 1) install cldoc 2) cd doc; make
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。