230 Commits

Author SHA1 Message Date
mutouyun
70121091d6 Fix the issue caused by inconsistent lifecycle of the global IPC object. 2025-05-06 17:59:03 +08:00
mutouyun
32c2be29a9 Refactoring the generic memory allocator 2025-03-09 18:02:51 +08:00
mutouyun
2d38a6a6e7 Reimplement the allocator required for the container type with $new 2025-03-09 18:02:51 +08:00
mutouyun
831225f763 Use $new instead of alloc 2025-03-09 18:02:51 +08:00
mutouyun
180920968f The memory allocator supports runtime dynamic size memory allocation 2025-03-09 18:02:51 +08:00
mutouyun
ea0a3a4bf6 libipc/memory/resource.h => libipc/mem/resource.h 2025-03-09 18:02:51 +08:00
mutouyun
89e9f87f36 Add $new 2025-03-09 18:02:51 +08:00
mutouyun
edc1e80585 Add block_pool 2025-03-09 18:02:51 +08:00
mutouyun
3571fa58c8 Adjust the allocator name 2025-03-09 18:02:51 +08:00
mutouyun
86d9d868c8 Fix fmt function to handle null pointers and return empty string 2025-03-09 18:02:51 +08:00
mutouyun
87edc6fab1 Fix fmt function to handle empty strings and update make_prefix template parameters 2025-03-09 18:02:51 +08:00
mutouyun
70a1f68f01 Optimize memory_resource & add monotonic_buffer_resource 2025-03-09 18:02:51 +08:00
mutouyun
b8d01ddf68 Add intrusive_stack 2025-03-09 18:02:51 +08:00
mutouyun
40eaab7310 Add allocator and rewrite allocator_wrapper 2025-03-09 18:02:51 +08:00
mutouyun
8c34d5d4bc Optimized partial implementation using fmt 2025-03-09 18:02:51 +08:00
mutouyun
48d4d6111d Start refactoring memory management, adding memory_resource 2025-03-09 18:02:51 +08:00
mutouyun
033f22ae8f Update platform-specific feature macros to new interfaces in imp 2025-03-09 18:02:51 +08:00
mutouyun
85bf8263fb Add system 2025-03-09 18:02:51 +08:00
mutouyun
6db5845a45 Add result 2025-03-09 18:02:51 +08:00
mutouyun
d2ba9dce52 Add log 2025-03-09 18:02:51 +08:00
mutouyun
72ec8ee42f Add error 2025-03-09 18:02:51 +08:00
mutouyun
e30ab84ccc Added fmt support for byte 2025-03-09 18:02:51 +08:00
mutouyun
e333bc754e Add fmt 2025-03-09 18:02:50 +08:00
mutouyun
a2d82ec6f0 Add codecvt 2025-03-09 18:02:50 +08:00
mutouyun
ed8f9d06a6 Add expected 2025-03-09 18:02:50 +08:00
mutouyun
67776aea65 Add imp for subsequent refactoring 2025-03-09 18:02:50 +08:00
mutouyun
5e5b347636 Complete the implementation of the clean interface and add unit tests 2024-12-01 19:06:50 +08:00
mutouyun
acea9d74da Fix ut 2024-11-17 17:51:18 +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
fafa5e85f7 Fixed memory access exception in multithreading. 2023-10-28 16:44:16 +08:00
mutouyun
2e35ab7685 Added QNX support 2022-01-02 17:54:07 +08:00
mutouyun
3344bbf799 impl robust mutex & condition (using alephzero's mtx implementation) 2021-10-23 19:06:33 +08:00
mutouyun
96551d5fcb fix compilation errors caused by paths 2021-10-23 17:27:55 +08:00
mutouyun
d946ad0948 modify interface of sync.condition 2021-10-23 17:27:08 +08:00
mutouyun
a457a8975f using 'signal' to quit waiting explicitly 2021-09-21 13:09:59 +08:00
mutouyun
f6bd578c8a reduce the number of recheck times for the sleep function 2021-09-20 23:29:30 +08:00
mutouyun
7a536b6e9c impl quit_waiting 2021-09-20 22:18:27 +08:00
mutouyun
b8f5e2ba6f validate close in waiter 2021-09-20 22:03:36 +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
c1ceaa657a 实现condition_win 2021-09-19 22:26:32 +08:00
mutouyun
0cccdac868 merge issue-61; add condition for linux 2021-09-19 17:21:39 +08:00
mutouyun
4ca300b3e5 Merge branch 'issue-61' into develop 2021-09-19 16:29:31 +08:00
mutouyun
be6f16f87f revert some changes 2021-09-19 16:29:06 +08:00
mutouyun
94ad05ce35 调整ut 2021-09-18 00:11:11 +08:00
mutouyun
d37a6740ea add ut for sync::semaphore 2021-09-12 21:48:22 +08:00
mutouyun
415be36477 ipc::sync::mutex for linux 2021-09-11 15:52:48 +08:00
木头云
78be14be37
Merge branch 'develop' into master 2021-08-29 11:05:24 +08:00
mutouyun
df3cf1b4c4 modify to_tchar test 2021-08-15 15:10:29 +08:00