From 739877210827591639f5448815e5f9186f4b31d2 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Wed, 8 Jun 2011 19:31:04 -0400 Subject: [PATCH] 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 --- urcu-call-rcu-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1