aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-07-21 11:15:16 +0000
committerMartin Willi <martin@strongswan.org>2008-07-21 11:15:16 +0000
commitc7314e68ab85963823e8077a6cf96c8bf4fc0e2a (patch)
tree5031291ae474452ab9435dc2a55fc9db379a6e3b
parentfc861b0b7edcc80defe6053791ef8eb8147ab967 (diff)
downloadstrongswan-c7314e68ab85963823e8077a6cf96c8bf4fc0e2a.tar.bz2
strongswan-c7314e68ab85963823e8077a6cf96c8bf4fc0e2a.tar.xz
reverted bus to non-recursive mutex due instability
-rw-r--r--src/charon/bus/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/bus/bus.c b/src/charon/bus/bus.c
index 5ec9114ed..1f51045f3 100644
--- a/src/charon/bus/bus.c
+++ b/src/charon/bus/bus.c
@@ -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);