X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng-consumer.h;h=f5ad3e6f2ad416d5e3d6064444d1064ff1caa519;hp=bba72ee69ec39f82a4b56cf69c65e84c7939b4ab;hb=6065ceec9574bf18eb79ae707f627322f2713d18;hpb=e4421fecbda445e77b4604d2332014960bfbf695 diff --git a/include/lttng/lttng-consumer.h b/include/lttng/lttng-consumer.h index bba72ee69..f5ad3e6f2 100644 --- a/include/lttng/lttng-consumer.h +++ b/include/lttng/lttng-consumer.h @@ -184,9 +184,10 @@ struct lttng_consumer_global_data { /* * At this time, this lock is used to ensure coherence between the count * and number of element in the hash table. It's also a protection for - * concurrent read/write between threads. Although hash table used are - * lockless data structure, appropriate RCU lock mechanism are not yet - * implemented in the consumer. + * concurrent read/write between threads. + * + * XXX: We need to see if this lock is still needed with the lockless RCU + * hash tables. */ pthread_mutex_t lock;