2019-01-17 17:47:43 +08:00
build shm would fail with multi-thread accessing 2019-01-16 14:01:12 +08:00
include prepare new policies for queue 2019-01-17 17:47:43 +08:00
src fine-tune code 2019-01-17 15:50:56 +08:00
test fine-tune code 2019-01-17 17:34:33 +08:00
.gitignore first commit for shm. 2018-11-20 11:27:39 +08:00
.travis.yml qmake error 2019-01-15 23:20:50 +08:00
LICENSE Update LICENSE 2018-12-27 17:01:44 +08:00
performence.xlsx update files 2019-01-08 18:35:58 +08:00
README.md Update README.md 2019-01-16 11:59:53 +08:00

cpp-ipc - 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或轻量级shared-spin-lockipc::channel::connect/disconnect
  • 底层数据结构为循环数组circular array
  • ipc::route支持单生产多消费,ipc::channel支持多生产多消费

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: performence.xlsx

Reference