]> git.zerfleddert.de Git - usb-driver/commitdiff
fix for mutex deadlock when closing and reopening the cable connection
authorMichael Gernoth <michael@gernoth.net>
Sat, 12 Apr 2008 13:46:00 +0000 (15:46 +0200)
committerMichael Gernoth <michael@gernoth.net>
Sat, 12 Apr 2008 13:46:00 +0000 (15:46 +0200)
xpcu.c

diff --git a/xpcu.c b/xpcu.c
index 66c4fe3b054e55b47413021d90efbbf5d8cc715f..93d04247c86a644497f48bd753d19fb71ba65ab6 100644 (file)
--- a/xpcu.c
+++ b/xpcu.c
@@ -294,6 +294,8 @@ static void xpcu_init(void) {
        usb_find_devices();
 
        busses = usb_get_busses();
        usb_find_devices();
 
        busses = usb_get_busses();
+
+       pthread_mutex_init(&dummy_interrupt, NULL);
 }
 
 
 }
 
 
Impressum, Datenschutz