Merge branch 'collectd-5.6' into collectd-5.7
[collectd.git] / src / rrdtool.c
index f12b1ce..82f570f 100644 (file)
@@ -1071,8 +1071,9 @@ static int rrd_init(void) {
 
   pthread_mutex_unlock(&cache_lock);
 
-  status = plugin_thread_create(&queue_thread, /* attr = */ NULL,
-                                rrd_queue_thread, /* args = */ NULL);
+  status =
+      plugin_thread_create(&queue_thread, /* attr = */ NULL, rrd_queue_thread,
+                           /* args = */ NULL, "rrdtool queue");
   if (status != 0) {
     ERROR("rrdtool plugin: Cannot create queue-thread.");
     return (-1);