From: Paul E. McKenney Date: Wed, 8 Jun 2011 23:31:04 +0000 (-0400) Subject: Add comment to flag purpose of the ->qlen field X-Git-Tag: v0.6.0~34 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=739877210827591639f5448815e5f9186f4b31d2;p=urcu.git Add comment to flag purpose of the ->qlen field It is write-only, but is needed for debugging purposes. Signed-off-by: Paul E. McKenney Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-call-rcu-impl.h b/urcu-call-rcu-impl.h index cfe1cce..9beb58c 100644 --- a/urcu-call-rcu-impl.h +++ b/urcu-call-rcu-impl.h @@ -48,7 +48,7 @@ struct call_rcu_data { unsigned long flags; pthread_mutex_t mtx; int futex; - unsigned long qlen; + unsigned long qlen; /* maintained for debugging. */ pthread_t tid; int cpu_affinity; struct cds_list_head list;