cpp-ipc icon indicating copy to clipboard operation
cpp-ipc copied to clipboard

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

Results 69 cpp-ipc issues
Sort by recently updated
recently updated
newest added

我最近在开发过程中发现由于采用的是共享内存进行通信的,这就会导致system用户和普通用户的命名句柄是没法同步了,有什么好办法解决嘛? 普通用户下的 \Sessions\1\BaseNamedObjects\_cond_sem__waiter_cond___CC_CONN__dddddd_ipc_server system用户下的 BaseNamedObjects\_cond_sem__waiter_cond___CC_CONN__dddddd_ipc_server 我目前在句柄名上加了Global\\,但是创建出来的还是有问题

环境:win10 vs2017 demo channel测试,无接收端的情况下(后启动) while (!cc.send(datas[i])) { // waiting for connection cc.wait_for_recv(2); // 这里等待2个连接的原因是,thread producer的cc自身也是一个连接(ipc::receiver) } send依旧会成功,导致发送端和接收端都处于recv死等待

说出来不怕丢人,这些c++ 模板代码都是一行行手搓的吗?阅读起来着实有点费劲

xx@ubuntu:~/my_workspace/github/cpp-ipc-master/cpp-ipc-master/demo/chat/build$ cmake .. -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Check for working C compiler: /usr/local/bin/cc -- Check for working...

cmake vcpkg find_package(cpp-ipc CONFIG REQUIRED)报错无法找到包,请问是什么原因呢?谢谢 1> [CMake] Could not find a package configuration file provided by "cpp-ipc" with any 1> [CMake] of the following names: 1> [CMake] 1> [CMake] cpp-ipcConfig.cmake...

Hello, Is it possible to use cpp-ipc to communicate between Windows 11 and WSL2 ?(both of them are part of the same host system). Best Regards, Hemal Bavishi

测试发现在同一个进程内使用cpp-ipc通信,server端无法退出,会一直卡住,是不支持进程内通信吗?

我用的最新的版本,我比较注重灾难恢复,正常通信的两个程序,强行让其崩溃,并重新启动之后,就会出现无法通信的情况。而disconnect 函数也会阻塞起来没有动静。

After closing the applications using ICP the /dev/shm has all the files SHMEM there. ` __IPC_SHM____AC_CONN__myq __IPC_SHM____CA_CONN__ __IPC_SHM____QU_CONN__64__16__myq __IPC_SHM___waiter_cond___CC_CONN__myq __IPC_SHM___waiter_cond___RD_CONN__myq __IPC_SHM___waiter_cond___WT_CONN__myq __IPC_SHM___waiter_lock___CC_CONN__myq __IPC_SHM___waiter_lock___RD_CONN__myq __IPC_SHM___waiter_lock___WT_CONN__myq __IPC_SHM___waiter_lock___RD_CONN__ocean __IPC_SHM___waiter_lock___WT_CONN__ocean `