815 Commits

Author SHA1 Message Date
mutouyun
1c2fee0d72 Refactor file names and include headers in Windows platform code 2024-09-21 17:24:38 +08:00
mutouyun
7421b95939 Refactor handle closing in Windows platform code 2024-09-16 19:23:17 +08:00
mutouyun
1fe8d93612 Add deleter struct for std::unique_ptr destruction policy 2024-09-16 19:22:41 +08:00
mutouyun
264608b621 Testing with threads instead of processes under Windows. 2024-09-01 19:05:02 +08:00
mutouyun
8c643308dd refactor: horrible_cast implementation 2024-09-01 15:32:23 +08:00
mutouyun
9325fbdf5c update readme 2024-09-01 14:09:16 +08:00
mutouyun
400ee4a1a8 update readme 2024-08-31 17:51:43 +08:00
mutouyun
44a4486160 refactor: Add comments for dirty write cases 2024-08-11 17:24:39 +08:00
mutouyun
73df616f8b refactor: Remove unnecessary comment in concurrent.h 2024-08-11 17:21:18 +08:00
mutouyun
95f6bdc23e Refactor test_concur_concurrent.cpp to fix compilation errors 2024-08-11 17:18:36 +08:00
mutouyun
c1dc10e163 Refactor test_concur_concurrent.cpp to add dirty write test 2024-08-10 21:22:19 +08:00
mutouyun
7e1731c5ef refactor: Add static_assert for trivially copyable type in data_model 2024-08-10 17:49:49 +08:00
mutouyun
7ff608e101 Merge branch 'refactoring' of github.com:mutouyun/cpp-ipc into refactoring 2024-06-02 18:24:02 +08:00
mutouyun
6ad911550e Refactor intrusive_stack implementation and tests 2024-06-02 18:23:56 +08:00
mutouyun
01da1334e1 Unified CI step names 2024-06-02 18:22:27 +08:00
mutouyun
48fa2d9d96 codecov badge 2024-06-02 18:19:20 +08:00
mutouyun
12be53d718 Try adding test coverage check 2024-06-02 18:11:25 +08:00
mutouyun
a401d3f874 Use std::ignore to fix unused variable warnings 2024-05-19 18:49:50 +08:00
mutouyun
9f44298350 Fix exception handling and logging in the code 2024-03-10 13:38:28 +08:00
mutouyun
1407d1815e Refactor logging functions and add exception handling 2024-03-10 00:49:24 +08:00
mutouyun
d6f40f44d3 Refactor noexcept specifier for monotonic_buffer_resource 2024-03-10 00:26:38 +08:00
mutouyun
9206e674c1 Refactor naming convention in new and delete functions. 2024-03-10 00:11:18 +08:00
mutouyun
a0732c892c Refactor memory block resource retrieval in new.h 2024-03-09 23:59:16 +08:00
mutouyun
a5456d9258 Refactor regular_sizeof ut 2024-03-09 21:04:21 +08:00
mutouyun
3f526cfbfb Fix compilation errors 2024-03-09 20:15:50 +08:00
mutouyun
174d5e41df Fixed possible errors in memory allocation greater than 64K. 2024-03-09 19:54:18 +08:00
mutouyun
2a1d8fa5fa Update CMakeLists.txt and expected.h, remove unused files, and improve thread safety in block_pool.cpp 2024-03-09 19:14:41 +08:00
mutouyun
f615f200df Remove synchronized_pool_resource class and its implementation 2024-01-13 19:05:43 +08:00
mutouyun
f3ecf7c61c Refactor logging code and update test cases 2024-01-13 18:39:57 +08:00
mutouyun
30e5af90b3 Refactor log class names and function names 2024-01-13 18:20:53 +08:00
mutouyun
2cffe55ee1 Update constants to use static constexpr 2024-01-13 16:20:06 +08:00
mutouyun
5aaa78a8a5 Add comments and refine the implementation. 2024-01-07 22:43:21 +08:00
mutouyun
01bbcf7dca Fix block_pool_resource allocation and deallocation 2024-01-06 18:17:57 +08:00
mutouyun
de80de3828 Refactor regular_sizeof function and fix type conversion warnings in test_pmr_new.cpp 2024-01-06 18:10:52 +08:00
mutouyun
397e25a6ab Refactor test cases for pmr_memory_resource, pmr_new, pmr_allocator, pmr_block_pool, and pmr_monotonic_buffer_resource 2024-01-06 17:53:57 +08:00
mutouyun
2f79716b1c Update libpmr code 2024-01-06 17:34:59 +08:00
mutouyun
fc60c75ac4 [TBD] add global object creation function 2024-01-01 18:04:53 +08:00
mutouyun
d995c693f3 Add unit tests for block_pool 2023-12-24 12:54:43 +08:00
mutouyun
c10d84a8f2 fix ut 2023-12-23 19:16:01 +08:00
mutouyun
3be10b67bc upd: [pmr] improve block_pool 2023-12-23 16:34:47 +08:00
mutouyun
a8c6654178 add: [pmr] block pool implementation (TBD) 2023-12-17 18:09:53 +08:00
mutouyun
bdc8839c0c add: [concur] intrusive stack implementation 2023-12-17 16:57:38 +08:00
mutouyun
9bd8813d46 rename concur::queue => `concur::circular_queue 2023-11-18 16:10:24 +08:00
mutouyun
ffb82029d9 Update .gitignore 2023-10-28 18:58:16 +08:00
mutouyun
9d4b482224 add LIBIMP_UNUSED for ut 2023-10-28 11:21:28 +08:00
mutouyun
3b268e0fbf add /fsanitize=address for MSVC DEBUG 2023-10-22 18:22:32 +08:00
mutouyun
872b97f1d3 Add -fsanitize=address for memory leak and out-of-bounds detection. 2023-10-22 17:39:43 +08:00
mutouyun
ec602f50af fix ut 2023-09-18 00:11:30 +08:00
mutouyun
019a60b371 add unit test 2023-09-17 17:07:40 +08:00
mutouyun
c07b14839d Remove std::pmr test codes. 2023-09-17 17:05:09 +08:00