File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 33[ ![ MIT licensed] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://github.com/mutouyun/cpp-ipc/blob/master/LICENSE )
44[ ![ Build Status] ( https://github.com/mutouyun/cpp-ipc/actions/workflows/c-cpp.yml/badge.svg )] ( https://github.com/mutouyun/cpp-ipc/actions )
55[ ![ Build status] ( https://ci.appveyor.com/api/projects/status/github/mutouyun/cpp-ipc?branch=master&svg=true )] ( https://ci.appveyor.com/project/mutouyun/cpp-ipc )
6+ [ ![ Vcpkg package] ( https://img.shields.io/badge/Vcpkg-package-blueviolet )] ( https://github.com/microsoft/vcpkg/tree/master/ports/cpp-ipc )
67
78A high-performance inter-process communication using shared memory on Linux/Windows.
89使用共享内存的跨平台(Linux/Windows,x86/x64/ARM)高性能IPC通讯库。
@@ -14,6 +15,7 @@ A high-performance inter-process communication using shared memory on Linux/Wind
1415 * ` ipc::route ` 支持单写多读,` ipc::channel ` 支持多写多读【** 注意:目前同一条通道最多支持32个receiver,sender无限制** 】
1516 * 默认采用广播模式收发数据,支持用户任意选择读写方案
1617 * 不会长时间忙等(重试一定次数后会使用信号量进行等待),支持超时
18+ * 支持[ Vcpkg] ( https://github.com/microsoft/vcpkg/blob/master/README_zh_CN.md ) 方式安装,如` vcpkg install cpp-ipc `
1719
1820## Usage
1921
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ class queue_base : public queue_conn {
144144 }
145145
146146 std::size_t conn_count () const noexcept {
147- return (elems_ == nullptr ) ? invalid_value : elems_->conn_count ();
147+ return (elems_ == nullptr ) ? static_cast <std:: size_t >( invalid_value) : elems_->conn_count ();
148148 }
149149
150150 bool valid () const noexcept {
You can’t perform that action at this time.
0 commit comments