Add comment to flag purpose of the ->qlen field
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 8 Jun 2011 23:31:04 +0000 (19:31 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 8 Jun 2011 23:31:04 +0000 (19:31 -0400)
It is write-only, but is needed for debugging purposes.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-call-rcu-impl.h

index cfe1cce43618ea218c241fba4413941825b47b43..9beb58cbf59cfba7d8f82aae5e85fb8882db9e70 100644 (file)
@@ -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;
This page took 0.025385 seconds and 4 git commands to generate.