Remove ht-cleanup thread
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.cpp
index f7a92cb3d9b282683da3d9ec3060af976b3cada0..95fc2c34875ce9fff37d3454a8c96e7de1e3a7fb 100644 (file)
@@ -554,8 +554,6 @@ void consumer_destroy_output_sockets(struct consumer_output *obj)
 
 /*
  * Delete the consumer_output object from the list and free the ptr.
- *
- * Should *NOT* be called with RCU read-side lock held.
  */
 static void consumer_release_output(struct urcu_ref *ref)
 {
@@ -566,7 +564,7 @@ static void consumer_release_output(struct urcu_ref *ref)
 
        if (obj->socks) {
                /* Finally destroy HT */
-               ht_cleanup_push(obj->socks);
+               lttng_ht_destroy(obj->socks);
        }
 
        free(obj);
@@ -582,8 +580,6 @@ void consumer_output_get(struct consumer_output *obj)
 
 /*
  * Put the consumer_output object.
- *
- * Should *NOT* be called with RCU read-side lock held.
  */
 void consumer_output_put(struct consumer_output *obj)
 {
@@ -595,8 +591,6 @@ void consumer_output_put(struct consumer_output *obj)
 
 /*
  * Copy consumer output and returned the newly allocated copy.
- *
- * Should *NOT* be called with RCU read-side lock held.
  */
 struct consumer_output *consumer_copy_output(struct consumer_output *src)
 {
This page took 0.023973 seconds and 4 git commands to generate.