summaryrefslogtreecommitdiffstats
path: root/database/rrd.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 08:57:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 08:57:43 +0000
commit42ad44d1fea072d23f2e0067bca4ba6bc0b2a523 (patch)
treeb1c1459c6914f1d4c5b123b601b9dbecb049360c /database/rrd.h
parentAdding upstream version 1.42.1. (diff)
downloadnetdata-42ad44d1fea072d23f2e0067bca4ba6bc0b2a523.tar.xz
netdata-42ad44d1fea072d23f2e0067bca4ba6bc0b2a523.zip
Adding upstream version 1.42.2.upstream/1.42.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--database/rrd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/database/rrd.h b/database/rrd.h
index ea211f64..d64f5904 100644
--- a/database/rrd.h
+++ b/database/rrd.h
@@ -891,9 +891,11 @@ struct rrdset {
} alerts;
struct {
+ SPINLOCK spinlock; // used only for cleanup
+ pid_t collector_tid;
+ bool set;
uint32_t pos;
uint32_t size;
- uint32_t used;
RRDDIM_ACQUIRED **rda;
} pluginsd;