From 0a2341bb36399a74ee540d75de1e63e1b4960f99 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sat, 12 Apr 2008 15:46:00 +0200 Subject: [PATCH] fix for mutex deadlock when closing and reopening the cable connection --- xpcu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xpcu.c b/xpcu.c index 66c4fe3..93d0424 100644 --- a/xpcu.c +++ b/xpcu.c @@ -294,6 +294,8 @@ static void xpcu_init(void) { usb_find_devices(); busses = usb_get_busses(); + + pthread_mutex_init(&dummy_interrupt, NULL); } -- 2.39.5