reverted bus to non-recursive mutex due instability
authorMartin Willi <martin@strongswan.org>
Mon, 21 Jul 2008 11:15:16 +0000 (11:15 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 21 Jul 2008 11:15:16 +0000 (11:15 -0000)
src/charon/bus/bus.c

index 5ec9114..1f51045 100644 (file)
@@ -371,7 +371,7 @@ bus_t *bus_create()
        this->public.destroy = (void(*)(bus_t*)) destroy;
        
        this->listeners = linked_list_create();
-       this->mutex = mutex_create(MUTEX_RECURSIVE);
+       this->mutex = mutex_create(MUTEX_DEFAULT);
        pthread_key_create(&this->thread_id, NULL);
        pthread_key_create(&this->thread_sa, NULL);