mutouyun
|
e99fe22e9c
|
微调注释
|
2023-09-23 21:38:47 +08:00 |
|
mutouyun
|
162011d4b4
|
修正全局变量初始化时序问题导致的内存访问异常
|
2023-02-25 16:30:11 +08:00 |
|
mutouyun
|
d946ad0948
|
modify interface of sync.condition
|
2021-10-23 17:27:08 +08:00 |
|
mutouyun
|
f6bd578c8a
|
reduce the number of recheck times for the sleep function
|
2021-09-20 23:29:30 +08:00 |
|
mutouyun
|
ed8b1fd608
|
fix some bugs for linux-mutex
|
2021-09-20 20:31:08 +08:00 |
|
mutouyun
|
04fda1cc3d
|
use sync to refactor waiter
|
2021-09-20 15:59:44 +08:00 |
|
mutouyun
|
0cccdac868
|
merge issue-61; add condition for linux
|
2021-09-19 17:21:39 +08:00 |
|
mutouyun
|
d37a6740ea
|
add ut for sync::semaphore
|
2021-09-12 21:48:22 +08:00 |
|
mutouyun
|
d0e2a4d80c
|
add semaphore for win
|
2021-09-12 15:59:44 +08:00 |
|
木头云
|
78be14be37
|
Merge branch 'develop' into master
|
2021-08-29 11:05:24 +08:00 |
|
木头云
|
d80bea9b5d
|
fix: unexpected crash
An unexpected crash caused by an unconnected exit.
|
2021-08-23 13:10:03 +08:00 |
|
mutouyun
|
98a3449865
|
fix some bugs, adjust the test cases
|
2021-07-11 13:13:30 +08:00 |
|
mutouyun
|
69e1586b5a
|
remove tls
|
2021-07-10 14:22:31 +08:00 |
|
mutouyun
|
cca4664e84
|
option(LIBIPC_BUILD_SHARED_LIBS 'Build shared libraries (DLLs).' OFF)
|
2021-07-10 13:50:46 +08:00 |
|
mutouyun
|
455c0b479d
|
add sync::mutex for windows/linux
|
2021-06-20 23:50:39 +08:00 |
|
木头云
|
681f8e6736
|
add large_msg_align for cache memory alignment
|
2021-05-07 15:48:31 +08:00 |
|
mutouyun
|
6163618433
|
针对不同类型的策略,增加不同的sender/receiver个数检查。
- is_multi_producer:sender无限制;否则仅允许一个
- is_multi_consumer:receiver个数上限依赖is_broadcast指定;否则仅允许一个
- is_broadcast:receiver个数上限为32(uint_t<32>位数);否则无限制(uint_t<32>大小)
行为变更:
1. 在连接时根据模式检查sender/receiver是否超出上限,超出则返回false
2. 在send时确认是否允许发送(对receiver模式来说,send之前不会尝试确认sender个数)
3. 修正若干bug
|
2021-01-03 12:52:03 +08:00 |
|
mutouyun
|
af6ac84110
|
add comments
|
2021-01-01 12:39:32 +08:00 |
|
mutouyun
|
2255ae685a
|
调整接口;添加 msg_que demo
|
2020-09-20 14:55:47 +08:00 |
|
mutouyun
|
85c9eecdfd
|
避免编译时的命名冲突
|
2020-09-20 12:37:47 +08:00 |
|
mutouyun
|
7545e17084
|
简化接口
|
2020-09-20 12:20:55 +08:00 |
|
mutouyun
|
bce3894707
|
添加正常退出的机制(win)
|
2020-09-19 17:37:33 +08:00 |
|
mutouyun
|
523d38d247
|
调整目录结构,隔离include路径,修正tls在win下的问题
|
2020-09-13 17:29:14 +08:00 |
|