2021-01-11 11:05:46 +08:00
3rdparty 优化ut,修正tls中的bug 2020-09-13 15:06:47 +08:00
demo 调整signal 2021-01-03 13:24:08 +08:00
include/libipc 针对不同类型的策略,增加不同的sender/receiver个数检查。 2021-01-03 12:52:03 +08:00
src Merge pull request #29 from mutouyun/master 2021-01-11 11:05:46 +08:00
test 针对不同类型的策略,增加不同的sender/receiver个数检查。 2021-01-03 12:52:03 +08:00
.gitignore 使用 gtest 替换 qtest,测试不再依赖 qt 2020-09-06 21:33:15 +08:00
.travis.yml 使用 gtest 替换 qtest,测试不再依赖 qt 2020-09-06 21:33:15 +08:00
CMakeLists.txt warning C4267 2020-09-26 19:30:41 +08:00
LICENSE 调整目录结构,隔离include路径,修正tls在win下的问题 2020-09-13 17:29:14 +08:00
performance.xlsx optimize the memory allocator 2019-10-07 11:23:31 +00:00
README.md 调整目录结构,隔离include路径,修正tls在win下的问题 2020-09-13 17:29:14 +08:00

cpp-ipc(libipc) - C++ IPC Library

MIT licensed Build Status Build status

A high-performance inter-process communication using shared memory on Linux/Windows.
使用共享内存的跨平台Linux/Windowsx86/x64/ARM高性能IPC通讯库。

  • 推荐支持C++17的编译器msvc-2017/gcc-7/clang-4
  • 除STL外无其他依赖
  • 无锁lock-free或轻量级spin-lock
  • 底层数据结构为循环数组circular array
  • ipc::route支持单写多读,ipc::channel支持多写多读【注意目前同一条通道最多支持32个receiversender无限制
  • 默认采用广播模式收发数据,支持用户任意选择读写方案
  • 不会长时间忙等(重试一定次数后会使用信号量进行等待),支持超时

Usage

See: Wiki

Performance

Environment Value
Device Lenovo ThinkPad T450
CPU Intel® Core™ i5-4300U @ 2.5 GHz
RAM 16 GB
OS Windows 7 Ultimate x64
Compiler MSVC 2017 15.9.4

UT & benchmark test function: test
Performance data: performance.xlsx

Reference