From b3b1946b82bece8b3aa5dedbab43afd24cfa9597 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Sat, 7 Aug 2010 12:16:28 +0200 Subject: [PATCH] Using recursive session lock --- src/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.c b/src/session.c index f7c0b99..1dc3adf 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(&session->session_mutex, name); + pazpar2_mutex_create_flag(&session->session_mutex, name, PTHREAD_MUTEX_RECURSIVE); return session; } -- 1.7.10.4