From 837bd79b20d4b9b8525a42999a9d1911f8980aa4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 2 Feb 2012 17:52:11 +0100 Subject: db_lock: add assertions --- src/db_lock.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/db_lock.c') diff --git a/src/db_lock.c b/src/db_lock.c index 3aaba4dc2..88adc3614 100644 --- a/src/db_lock.c +++ b/src/db_lock.c @@ -21,3 +21,7 @@ #include "db_lock.h" GStaticMutex db_mutex = G_STATIC_MUTEX_INIT; + +#ifndef NDEBUG +GThread *db_mutex_holder; +#endif -- cgit v1.2.3