reverted bus to non-recursive mutex due instability
[strongswan.git] / 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);