summaryrefslogtreecommitdiffstats
path: root/database/rrd.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 08:57:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 08:57:49 +0000
commit5f647647b2683875bdbed970d955a9e5123284bd (patch)
tree66dcf1d9f7a60cd19dd9ac410e27d5f6ead521d3 /database/rrd.h
parentReleasing debian version 1.42.1-1. (diff)
downloadnetdata-5f647647b2683875bdbed970d955a9e5123284bd.tar.xz
netdata-5f647647b2683875bdbed970d955a9e5123284bd.zip
Merging upstream version 1.42.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'database/rrd.h')
-rw-r--r--database/rrd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/database/rrd.h b/database/rrd.h
index ea211f64e..d64f5904a 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;