From: Mathieu Desnoyers Date: Fri, 14 Jun 2013 12:16:14 +0000 (-0400) Subject: rculfhash: document destroy context limitation X-Git-Tag: v0.7.7~1 X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=commitdiff_plain;h=b1ebcb1b6b6403034867682c9469aaec3d04e76c rculfhash: document destroy context limitation Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 727f5c9..23bd1ce 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -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.