Documentation: rculfhash: cds_lfht_resize not within read-side C.S.
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 30 Apr 2013 00:48:40 +0000 (20:48 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 30 Apr 2013 00:48:40 +0000 (20:48 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/rculfhash.h

index 0a8abff3c7d226bb6e38873569edc480cee07013..4d50f08ee892803fa4762ba266846ee067fc9d01 100644 (file)
@@ -439,6 +439,8 @@ int cds_lfht_is_node_deleted(struct cds_lfht_node *node);
  *
  * Threads calling this API need to be registered RCU read-side threads.
  * This function does not (necessarily) issue memory barriers.
+ * cds_lfht_resize should *not* be called from a RCU read-side critical
+ * section.
  */
 extern
 void cds_lfht_resize(struct cds_lfht *ht, unsigned long new_size);
This page took 0.024801 seconds and 4 git commands to generate.