]> git.liburcu.org Git - urcu.git/commitdiff
rculfhash: document destroy context limitation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 14 Jun 2013 12:16:14 +0000 (08:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 14 Jun 2013 12:16:14 +0000 (08:16 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/rculfhash.h

index 727f5c9723131c144a20e0e7ee8ad2b2dbdd231c..23bd1ce3bded4fd4e83f51e0c63c34b48f788acb 100644 (file)
@@ -176,7 +176,8 @@ struct cds_lfht *cds_lfht_new(unsigned long init_size,
  * Return 0 on success, negative error value on error.
  * Threads calling this API need to be registered RCU read-side threads.
  * cds_lfht_destroy should *not* be called from a RCU read-side critical
- * section.
+ * section. It should *not* be called from call_rcu thread context
+ * neither.
  * In userspace RCU 0.7.x, for QSBR RCU flavor, cds_lfht_destroy() has a
  * side-effect: it puts the caller thread in "online" state. This will
  * be fixed in userspace RCU 0.8.x.
This page took 0.030486 seconds and 4 git commands to generate.