summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a57b24)
raw | patch | inline | side by side (parent: 0a57b24)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 28 Oct 2007 19:07:28 +0000 (20:07 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 28 Oct 2007 19:07:28 +0000 (20:07 +0100) |
src/utils_cache.c | patch | blob | history |
diff --git a/src/utils_cache.c b/src/utils_cache.c
index 79989a07aedf0247712ca0805499e750de1bec35..9349a1f4a1c9364f8b170a1e324011a818f34167 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
} cache_entry_t;
static avl_tree_t *cache_tree = NULL;
-static pthread_mutex_t cache_lock;
+static pthread_mutex_t cache_lock = PTHREAD_MUTEX_INITIALIZER;
static int cache_compare (const cache_entry_t *a, const cache_entry_t *b)
{