Commit Graph

  • ce0773b3e6 refactor: improve name handling in shm_posix.cpp to match semaphore pattern master mutouyun 2025-12-06 16:06:51 +08:00
  • addfe4f5cf
    Merge pull request #161 from mutouyun/fix/freebsd-mutex-unlock-timing 木头云 2025-12-06 15:22:27 +08:00
  • 2593213d9c Fix FreeBSD shm_unlink failure by adding '/' prefix in remove() 木头云 2025-12-06 07:12:39 +00:00
  • 37f16cea47 Fix mutex unlock timing to avoid interfering with other references 木头云 2025-12-06 06:52:56 +00:00
  • 0ba12144bd
    Merge pull request #160 from mutouyun/issue/156 木头云 2025-12-06 14:39:49 +08:00
  • 5517f48681 Fix FreeBSD segfault by unlocking mutex before destruction 木头云 2025-12-06 06:35:02 +00:00
  • 47fa303455 Fix segfault in EOWNERDEAD handling - remove incorrect ref count manipulation 木头云 2025-12-06 06:21:38 +00:00
  • a82e3faf63 Fix C++17 compilation error on FreeBSD GCC 13.3 木头云 2025-12-06 06:13:58 +00:00
  • 543672b39d Fix FreeBSD-specific issues in POSIX implementation 木头云 2025-12-06 06:05:53 +00:00
  • 006a46e09f
    Merge pull request #158 from mutouyun/feature/issue-156 木头云 2025-12-03 16:49:36 +08:00
  • 2815fe0163 fix(shm_win): Use mem::$delete instead of mem::free in release() feature/memory 木头云 2025-12-03 08:48:02 +00:00
  • b35de5a154 fix(test): Update test.h include paths after master rebase 木头云 2025-12-03 08:28:37 +00:00
  • 874e0b25bc fix(msvc): Fix C4138 warning by adding space before commented parameter names 木头云 2025-12-03 08:05:22 +00:00
  • 52ff081770 fix(test): Fix buffer overflow in data_set caused by array placement new 木头云 2025-12-03 07:53:29 +00:00
  • c9d0a94894 refactor(uninitialized): Improve construct() overload resolution 木头云 2025-12-01 09:58:53 +00:00
  • cf444e5309 fix(container_allocator): Fix MSVC compilation by correcting allocator semantics 木头云 2025-12-01 09:24:58 +00:00
  • 7eb7b93bfa Replace custom hash struct with std::hash in unordered_map definition mutouyun 2025-05-24 15:14:30 +08:00
  • 9d6bb92a15 Fix the issue caused by inconsistent lifecycle of the global IPC object. mutouyun 2025-05-06 17:59:03 +08:00
  • a1f858f560 Refactoring the generic memory allocator mutouyun 2025-03-09 18:02:11 +08:00
  • 10c0d14de6 Reimplement the allocator required for the container type with $new mutouyun 2025-02-13 15:28:14 +08:00
  • 4e70d6c60b Use $new instead of alloc mutouyun 2025-02-04 10:33:13 +08:00
  • 5db7e70cdd Simplify the implementation of memory allocation management mutouyun 2025-01-27 12:00:50 +08:00
  • 8b384ba5f2 The memory allocator supports runtime dynamic size memory allocation mutouyun 2025-01-26 10:38:07 +08:00
  • ef9d3b3642 libipc/memory/resource.h => libipc/mem/resource.h mutouyun 2025-01-26 10:33:19 +08:00
  • e3c1755b9a Add $new mutouyun 2025-01-24 17:28:39 +08:00
  • 0b33859d33 Add block_pool mutouyun 2025-01-21 17:37:53 +08:00
  • dd8307e81a Adjust the allocator name mutouyun 2025-01-15 12:25:58 +08:00
  • 823fda9ea1 Simplify verify_args function to fix error C3249 mutouyun 2025-01-11 18:45:25 +08:00
  • 6fcb40d117 Fix fmt function to handle null pointers and return empty string mutouyun 2025-01-11 18:39:07 +08:00
  • d0bd85a2c0 Update c-cpp.yml 木头云 2025-01-11 18:07:45 +08:00
  • a2da0621e8 Fix fmt function to handle empty strings and update make_prefix template parameters mutouyun 2025-01-11 18:06:08 +08:00
  • e7a8005f58 Optimize memory_resource & add monotonic_buffer_resource mutouyun 2025-01-10 21:24:20 +08:00
  • e83bd8f874 Add intrusive_stack mutouyun 2025-01-09 21:15:34 +08:00
  • d260897b16 Add allocator and rewrite allocator_wrapper mutouyun 2025-01-09 20:17:11 +08:00
  • 976610f914 Optimized partial implementation using fmt mutouyun 2025-01-09 17:34:37 +08:00
  • a4361d2b97 Start refactoring memory management, adding memory_resource mutouyun 2025-01-08 20:06:14 +08:00
  • 73ce564ab2 Update platform-specific feature macros to new interfaces in imp mutouyun 2025-01-08 19:55:23 +08:00
  • b70dea04c5 Add system mutouyun 2025-01-08 19:33:51 +08:00
  • 453f964bdd Add result mutouyun 2025-01-08 17:14:54 +08:00
  • 09a304161f IPC_EXPORT => LIBIPC_EXPORT mutouyun 2025-01-07 20:14:43 +08:00
  • 1fd07a2dec Add log mutouyun 2025-01-07 20:09:24 +08:00
  • 4c1f829c06 Add error mutouyun 2025-01-07 20:09:09 +08:00
  • e7b6fcd79d Added fmt support for byte mutouyun 2025-01-07 17:37:58 +08:00
  • 7e7bfb8467 Add fmt mutouyun 2025-01-07 13:56:22 +08:00
  • e717ad46fb Add codecvt mutouyun 2025-01-07 10:38:39 +08:00
  • 7f73c24019 libimp => libipc mutouyun 2025-01-07 10:16:41 +08:00
  • b3d520cd25 Add nameof & scope_exit mutouyun 2025-01-07 10:14:27 +08:00
  • f987e35870 Move the export.h file to the imp directory mutouyun 2025-01-06 16:21:03 +08:00
  • 6387385fc0 Add expected mutouyun 2025-01-06 10:17:54 +08:00
  • 8098c8e37a Add imp for subsequent refactoring mutouyun 2025-01-02 18:21:35 +08:00
  • f8e71a548c
    Merge pull request #159 from mutouyun/refactoring-ut 木头云 2025-11-30 19:36:52 +08:00
  • cf5738eb3a fix(test): replace C++17 structured bindings with C++14 compatible code 木头云 2025-11-30 11:16:03 +00:00
  • c31ef988c1 fix(shm): remove redundant self-assignment in shm_win.cpp 木头云 2025-11-30 11:06:04 +00:00
  • 7726742157 feat(shm): implement reference counting for Windows shared memory 木头云 2025-11-30 10:55:24 +00:00
  • b9dd75ccd9 fix(platform): rename linux/posix namespaces to avoid predefined macro conflict 木头云 2025-11-30 07:07:14 +00:00
  • e66bd880e9 fix(platform): resolve ODR violation in make_timespec/calc_wait_time inline functions 木头云 2025-11-30 07:00:32 +00:00
  • ff74cdd57a fix(test): correct receiver loop count in MultipleSendersReceivers 木头云 2025-11-30 06:38:38 +00:00
  • 78be284668 fix(test): correct test logic and semantics in multiple test cases 木头云 2025-11-30 06:06:54 +00:00
  • d5f787596a fix(test): fix double-free in HandleDetachAttach test 木头云 2025-11-30 05:38:59 +00:00
  • 0ecf1a4137 docs(shm): add semantic comments for release/remove and fix double-free in tests 木头云 2025-11-30 05:28:48 +00:00
  • 91e4489a55 refactor(buffer): rename 'additional' parameter to 'mem_to_free' for clarity 木头云 2025-11-30 05:09:56 +00:00
  • de76cf80d5 fix(buffer): remove const from char constructor to prevent UB 木头云 2025-11-30 05:00:57 +00:00
  • 8103c117f1 fix(buffer): remove redundant const qualifier in array constructor 木头云 2025-11-30 04:56:02 +00:00
  • 7447a86d41 fix(test): correct member vs non-member function calls in test_shm.cpp 木头云 2025-11-30 04:50:21 +00:00
  • 7092df53bb fix(test): resolve id_t ambiguity in test_shm.cpp 木头云 2025-11-30 04:29:55 +00:00
  • 2cde78d692 style(test): change indentation from 4 spaces to 2 spaces 木头云 2025-11-30 04:22:24 +00:00
  • b5146655fa build(test): update CMakeLists.txt for new test structure 木头云 2025-11-30 04:16:41 +00:00
  • 9070a899ef test(ipc): add comprehensive unit tests for route and channel 木头云 2025-11-30 04:16:16 +00:00
  • c21138b5b4 test(locks): add comprehensive unit tests for spin_lock and rw_lock 木头云 2025-11-30 04:14:52 +00:00
  • 4832c47345 test(condition): add comprehensive unit tests for ipc::sync::condition 木头云 2025-11-30 04:13:57 +00:00
  • 6e17ce184b test(semaphore): add comprehensive unit tests for ipc::sync::semaphore 木头云 2025-11-30 04:13:04 +00:00
  • b4ad3c69c9 test(mutex): add comprehensive unit tests for ipc::sync::mutex 木头云 2025-11-30 04:12:14 +00:00
  • 280a21c89a test(shm): add comprehensive unit tests for shared memory 木头云 2025-11-30 04:11:13 +00:00
  • 3d743d57ac test(buffer): add comprehensive unit tests for ipc::buffer 木头云 2025-11-30 04:10:07 +00:00
  • 17eaa573ca chore(test): archive existing test cases to test/archive 木头云 2025-11-30 04:04:10 +00:00
  • 0d53a3cdb1 Add FreeBSD platform support (fixes #156) 木头云 2025-11-29 10:55:54 +00:00
  • c5302d00ab
    Merge pull request #157 from cscd98/mingw 木头云 2025-11-29 18:25:36 +08:00
  • 72c4b5abc4 mingw: use lower case windows.h Craig Carnell 2025-11-17 09:56:49 +00:00
  • a0c7725a14
    Merge pull request #148 from mutouyun/yonker-yk-master 木头云 2025-05-11 21:40:37 +08:00
  • a1cdc9a711 In non-broadcast mode, connection tags are only used for counting. yonker-yk-master mutouyun 2025-05-10 15:14:39 +08:00
  • 87b1fa4abc Fixed issue 107 and 123, receiver check connection when pop msg failed, and call reconnect function when the connection check result is false yongke liu 2025-05-09 17:10:07 +08:00
  • 120d85a2c4
    Merge pull request #145 from johnwongx/sync 木头云 2025-05-01 11:13:43 +08:00
  • a6c7c8542f 修复连接槽满判断错误 johnwongx 2025-04-23 11:12:48 +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 木头云 2025-03-08 15:52:35 +08:00
  • 7bb5f2e611 Merge branch 'master' of https://github.com/aengusjiang/cpp-ipc Aengus.Jiang 2025-03-07 12:34:38 +08:00
  • 06d4aec320 posix shm open 失败时如果文件不存在打印log #2 修改逻辑错误 Aengus.Jiang 2025-03-07 12:33:42 +08:00
  • 5c36b1264f posix shm open 失败时如果文件不存在打印log Aengus.Jiang 2025-03-07 11:57:31 +08:00
  • d69093462a open的时候不存在共享内存,则返回false,没有必要报错 Aengus.Jiang 2025-03-07 11:36:57 +08:00
  • df09c22738
    Update README.md 木头云 2025-02-09 17:00:48 +08:00
  • 2673453e66 Try to fix permission issues under linux mutouyun 2024-12-01 21:06:06 +08:00
  • 84bb801b6e Try to fix a communication problem caused by different permissions under linux mutouyun 2024-12-01 19:53:40 +08:00
  • 5e5b347636 Complete the implementation of the clean interface and add unit tests mutouyun 2024-12-01 19:06:50 +08:00
  • 28fdf17279 Added cleanup interfaces for ipc chan mutouyun 2024-11-30 18:38:15 +08:00
  • 17dcde92bf Added clear_storage for quieue mutouyun 2024-11-30 17:56:07 +08:00
  • ab90437e44 Added a cleanup interface for waiter. mutouyun 2024-11-30 17:53:31 +08:00
  • acea9d74da Fix ut mutouyun 2024-11-17 17:51:18 +08:00
  • e1f377d7f6 Added a cleanup interface for the synchronization facilities mutouyun 2024-11-17 17:39:03 +08:00
  • 29678f1d41 Added a cleanup interface for queue mutouyun 2024-11-17 17:36:09 +08:00
  • 5071fb5db6 Added a cleanup interface for shared memory handles mutouyun 2024-11-17 17:35:29 +08:00