summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 193e80d)
raw | patch | inline | side by side (parent: 193e80d)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 2 Nov 2008 17:09:36 +0000 (17:09 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 2 Nov 2008 17:09:36 +0000 (17:09 +0000) |
-- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1643 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1643 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_daemon.c | patch | blob | history |
index bee21a2d7e6e248cb49f36b9983694892caed058..7201c52c4e12c86429f90240a3b01272d906f501 100644 (file)
--- a/program/src/rrd_daemon.c
+++ b/program/src/rrd_daemon.c
wipe_ci_values(ci, now);
ci->flags = CI_FLAGS_IN_TREE;
- ci->flushed = PTHREAD_COND_INITIALIZER;
+ pthread_cond_init(&ci->flushed, NULL);
pthread_mutex_lock(&cache_lock);
g_tree_insert (cache_tree, (void *) ci->file, (void *) ci);