木头云
0d53a3cdb1
Add FreeBSD platform support ( fixes #156 )
...
- Add IPC_OS_FREEBSD_ platform detection macro
- Enable FreeBSD to use POSIX pthread implementation (shared with QNX)
- Update all conditional compilation directives to include FreeBSD
- Update README to reflect FreeBSD platform support
FreeBSD uses the existing POSIX implementation which supports:
- Process-shared mutexes (PTHREAD_PROCESS_SHARED)
- Robust mutexes (PTHREAD_MUTEX_ROBUST)
- Timed lock operations
- POSIX shared memory
This is a minimal change that reuses the mature POSIX implementation
already proven by QNX platform support.
2025-11-29 10:55:54 +00:00
木头云
c5302d00ab
Merge pull request #157 from cscd98/mingw
...
mingw: use lower case windows.h
2025-11-29 18:25:36 +08:00
Craig Carnell
72c4b5abc4
mingw: use lower case windows.h
2025-11-17 09:56:49 +00:00
木头云
a0c7725a14
Merge pull request #148 from mutouyun/yonker-yk-master
...
Yonker yk master
2025-05-11 21:40:37 +08:00
mutouyun
a1cdc9a711
In non-broadcast mode, connection tags are only used for counting.
2025-05-10 15:14:39 +08:00
yongke liu
87b1fa4abc
Fixed issue 107 and 123, receiver check connection when pop msg failed, and call reconnect function when the connection check result is false
2025-05-09 17:10:07 +08:00
木头云
120d85a2c4
Merge pull request #145 from johnwongx/sync
...
修复连接槽满判断错误
2025-05-01 11:13:43 +08:00
johnwongx
a6c7c8542f
修复连接槽满判断错误
2025-04-23 13:15:39 +08:00
木头云
fdcc9340be
Update rw_lock.h for #143
2025-04-20 13:58:42 +08:00
木头云
f3bf137668
Merge pull request #139 from aengusjiang/master
...
acquire 仅open不存在的shm不应该打印错误日志
2025-03-08 15:52:35 +08:00
Aengus.Jiang
7bb5f2e611
Merge branch 'master' of https://github.com/aengusjiang/cpp-ipc
2025-03-07 12:34:38 +08:00
Aengus.Jiang
06d4aec320
posix shm open 失败时如果文件不存在打印log #2 修改逻辑错误
2025-03-07 12:33:42 +08:00
Aengus.Jiang
5c36b1264f
posix shm open 失败时如果文件不存在打印log
2025-03-07 11:57:31 +08:00
Aengus.Jiang
d69093462a
open的时候不存在共享内存,则返回false,没有必要报错
2025-03-07 11:36:57 +08:00
木头云
df09c22738
Update README.md
2025-02-09 17:00:48 +08:00
mutouyun
2673453e66
Try to fix permission issues under linux
2024-12-01 21:06:06 +08:00
mutouyun
84bb801b6e
Try to fix a communication problem caused by different permissions under linux
2024-12-01 19:53:40 +08:00
mutouyun
5e5b347636
Complete the implementation of the clean interface and add unit tests
2024-12-01 19:06:50 +08:00
mutouyun
28fdf17279
Added cleanup interfaces for ipc chan
2024-12-01 17:49:34 +08:00
mutouyun
17dcde92bf
Added clear_storage for quieue
2024-12-01 17:49:34 +08:00
mutouyun
ab90437e44
Added a cleanup interface for waiter.
2024-12-01 17:49:34 +08:00
mutouyun
acea9d74da
Fix ut
2024-11-17 17:51:18 +08:00
mutouyun
e1f377d7f6
Added a cleanup interface for the synchronization facilities
2024-11-17 17:39:03 +08:00
mutouyun
29678f1d41
Added a cleanup interface for queue
2024-11-17 17:36:09 +08:00
mutouyun
5071fb5db6
Added a cleanup interface for shared memory handles
2024-11-17 17:35:29 +08:00
mutouyun
805490605e
refactor: improve emplace construction for shm_data in mutex.h
2024-05-25 17:33:33 +08:00
abathur puppe
025311d5f6
fix emplace construction for shm_data. Previous required copy constructor
2024-05-25 17:32:31 +08:00
winsoft666
035d76d5aa
Update CMakeLists.txt
2023-12-10 21:07:18 +08:00
winsoft666
144b2db9ca
Add PACKAGE_VERSION
2023-12-10 21:07:18 +08:00
winsoft666
c4280efd5f
Add cpp-ipc-targets
2023-12-10 21:07:18 +08:00
mutouyun
ac54be7083
reconnect cannot reconnect when you are out of authority
v1.3.0
2023-10-28 16:44:16 +08:00
mutouyun
a3b0a968f8
回滚多余的修改
2023-10-28 16:44:16 +08:00
mutouyun
fafa5e85f7
Fixed memory access exception in multithreading.
2023-10-28 16:44:16 +08:00
mutouyun
c74f78ea08
统一字符串有效性判断
2023-10-28 16:44:16 +08:00
mutouyun
cf72d0293a
The global sender could not be obtained due to different prefixes.
2023-10-28 16:44:16 +08:00
mutouyun
fab3f6fffe
Add a user interface with a custom name prefix.
2023-10-28 16:44:16 +08:00
mutouyun
16b138d6af
Check illegal parameter.
2023-10-28 16:44:16 +08:00
mutouyun
a46773bbd5
微调注释
2023-10-28 16:44:16 +08:00
mutouyun
ec14e81ffd
Identify the user group and add the appropriate prefix to the names.
2023-10-28 16:44:16 +08:00
mutouyun
bbd063f965
调整空白格式
2023-10-28 16:44:16 +08:00
mutouyun
0814438c35
调整注释
2023-10-28 16:44:16 +08:00
mutouyun
22a253a72f
Supplement similar demo under linux.
2023-10-28 16:44:16 +08:00
mutouyun
e229f78a15
Windows services can communicate with common processes.
2023-10-28 16:44:16 +08:00
mutouyun
7981a1cbc1
disable warning C4858
2023-10-28 16:44:16 +08:00
木头云
6111722534
fix: the receiver of channel will hang after disconnect
2023-05-14 14:11:54 +08:00
mutouyun
2a2b626210
补充遗漏的初始化
2023-02-25 16:30:11 +08:00
mutouyun
162011d4b4
修正全局变量初始化时序问题导致的内存访问异常
2023-02-25 16:30:11 +08:00
木头云
768e58f605
Merge pull request #82 from SuperWangKai/master
...
Added English translation for README.md.
2022-08-04 22:12:26 +08:00
Kai Wang
1fca15f741
Placed a space before parenthesis.
2022-08-03 22:03:42 +08:00
Kai Wang
97dd413725
Added back two spaces to keep new lines.
2022-08-03 21:57:10 +08:00