strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reverted bus to non-recursive mutex due instability
[strongswan.git]
/
src
/
charon
/
bus
/
bus.c
diff --git
a/src/charon/bus/bus.c
b/src/charon/bus/bus.c
index
5ec9114
..
1f51045
100644
(file)
--- 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->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);
pthread_key_create(&this->thread_id, NULL);
pthread_key_create(&this->thread_sa, NULL);