Skip to content

mutouyun/cpp-ipc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

MIT licensed Build Status CodeCov Vcpkg package

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


  • 重构中……
  • 重构代码结构:
    • imp - 基础库
    • pmr - 内存管理
    • concur - 并发
    • sock - 简单的 socket 抽象
    • te - 类型擦除
  • IPC:实现基本组件
    • 共享内存(需要作为后续组件的基础)
    • 原子锁
    • 互斥量
    • 条件变量
    • 信号量
    • 事件(支持 I/O 多路复用)
  • IPC:实现主体功能
    • 基于共享内存的变长循环内存池(作为大对象的底层存储)
    • 节点间的相互发现机制(基于 sock,避免连接)
    • 实现单对单、单对多、多对多收发模型
  • IPC:API/性能优化
    • 支持零拷贝发送
    • 支持多路读取等待
    • 优化无锁队列实现

About

C++ IPC Library: A high-performance inter-process communication using shared memory on Linux/Windows.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published