summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7da84b6)
raw | patch | inline | side by side (parent: 7da84b6)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 22 Oct 2008 20:41:59 +0000 (20:41 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 22 Oct 2008 20:41:59 +0000 (20:41 +0000) |
was equivalent to memset(&cond,0). This may not be true on all platforms.
-- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1627 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- kevin
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1627 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 8d26e0a6e86266f3dec0f0f35ce924e15ec7af59..bee21a2d7e6e248cb49f36b9983694892caed058 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
wipe_ci_values(ci, now);
ci->flags = CI_FLAGS_IN_TREE;
+ ci->flushed = PTHREAD_COND_INITIALIZER;
pthread_mutex_lock(&cache_lock);
g_tree_insert (cache_tree, (void *) ci->file, (void *) ci);