From 77052122e4e0741026bef6623b13a95e63e524e3 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 2 Mar 2025 20:34:10 -0700 Subject: libcr_ipc: Add a test for mutex --- libcr_ipc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcr_ipc/CMakeLists.txt') diff --git a/libcr_ipc/CMakeLists.txt b/libcr_ipc/CMakeLists.txt index 8545798..ae515bc 100644 --- a/libcr_ipc/CMakeLists.txt +++ b/libcr_ipc/CMakeLists.txt @@ -16,7 +16,7 @@ target_link_libraries(libcr_ipc INTERFACE set(ipc_tests chan #select - #mutex + mutex #owned_mutex rpc sema -- cgit v1.2.3-2-g168b From d5036ba89dcb89b7a05e5c6b2d7cd9cc53850d4d Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 6 Apr 2025 22:15:21 -0600 Subject: libcr_ipc: Delete owned_mutex --- libcr_ipc/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'libcr_ipc/CMakeLists.txt') diff --git a/libcr_ipc/CMakeLists.txt b/libcr_ipc/CMakeLists.txt index ae515bc..2b13e37 100644 --- a/libcr_ipc/CMakeLists.txt +++ b/libcr_ipc/CMakeLists.txt @@ -17,7 +17,6 @@ set(ipc_tests chan #select mutex - #owned_mutex rpc sema ) -- cgit v1.2.3-2-g168b From b46d9f8886517c5e54cafc8bba1a6e0e30fdb691 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 6 Apr 2025 23:12:55 -0600 Subject: libcr_ipc: Add tests for select --- libcr_ipc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcr_ipc/CMakeLists.txt') diff --git a/libcr_ipc/CMakeLists.txt b/libcr_ipc/CMakeLists.txt index 2b13e37..cf8e5fd 100644 --- a/libcr_ipc/CMakeLists.txt +++ b/libcr_ipc/CMakeLists.txt @@ -15,9 +15,9 @@ target_link_libraries(libcr_ipc INTERFACE set(ipc_tests chan - #select mutex rpc + select sema ) foreach(test IN LISTS ipc_tests) -- cgit v1.2.3-2-g168b From 4d5a8b2f99be5e04954c5067080d1725af8c0ae7 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 7 Apr 2025 00:09:00 -0600 Subject: libcr_ipc: Pull as much as possible from public .h to .c files --- libcr_ipc/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libcr_ipc/CMakeLists.txt') diff --git a/libcr_ipc/CMakeLists.txt b/libcr_ipc/CMakeLists.txt index cf8e5fd..7d249d7 100644 --- a/libcr_ipc/CMakeLists.txt +++ b/libcr_ipc/CMakeLists.txt @@ -6,11 +6,15 @@ add_library(libcr_ipc INTERFACE) target_include_directories(libcr_ipc PUBLIC INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include) target_sources(libcr_ipc INTERFACE + _linkedlist.c chan.c - select.c + mutex.c + rpc.c + sema.c ) target_link_libraries(libcr_ipc INTERFACE libcr + libmisc ) set(ipc_tests -- cgit v1.2.3-2-g168b From 062e063f76c5937be4dc8465f6471ff9b5eb7be9 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 7 Apr 2025 01:38:42 -0600 Subject: libcr_ipc: Add rwmutex --- libcr_ipc/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcr_ipc/CMakeLists.txt') diff --git a/libcr_ipc/CMakeLists.txt b/libcr_ipc/CMakeLists.txt index 7d249d7..bd72f54 100644 --- a/libcr_ipc/CMakeLists.txt +++ b/libcr_ipc/CMakeLists.txt @@ -10,6 +10,7 @@ target_sources(libcr_ipc INTERFACE chan.c mutex.c rpc.c + rwmutex.c sema.c ) target_link_libraries(libcr_ipc INTERFACE @@ -21,6 +22,7 @@ set(ipc_tests chan mutex rpc + rwmutex select sema ) -- cgit v1.2.3-2-g168b