aports/testing/linux-gpib/0000-ptread.patch
Robert Eckelmann e6c667ff24
testing/linux-gpib: new aport
As the hardware drivers for linux-gpib have been mainlined with Kernel >6.13, the only the userland needs packaging.
(before that the hardware drivers were oot-modules which required DKMS)

Signed-off-by: Robert Eckelmann <longnoserob@gmail.com>
2025-12-06 23:57:23 +01:00

14 lines
384 B
Diff

diff --git a/lib/ibutil.c b/lib/ibutil.c
index 4bccf90d..3b617028 100644
--- a/lib/ibutil.c
+++ b/lib/ibutil.c
@@ -99,7 +99,7 @@ int setup_global_board_descriptors(void)
return retval;
}
-static pthread_mutex_t config_lock = PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP;
+static pthread_mutex_t config_lock = PTHREAD_MUTEX_INITIALIZER;
static void gpib_atfork_prepare(void)
{