From ba223db6be46354e6e3b95a9f65d62d335f11cf1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 8 Aug 2010 21:21:03 +0200 Subject: [PATCH] No need for recursive mutex --- src/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.c b/src/session.c index 1dc3adf..f7c0b99 100644 --- a/src/session.c +++ b/src/session.c @@ -724,7 +724,7 @@ struct session *new_session(NMEM nmem, struct conf_service *service, } session->normalize_cache = normalize_cache_create(); session->session_mutex = 0; - pazpar2_mutex_create_flag(&session->session_mutex, name, PTHREAD_MUTEX_RECURSIVE); + pazpar2_mutex_create(&session->session_mutex, name); return session; } -- 1.7.10.4