From: Mathieu Desnoyers Date: Tue, 30 Apr 2013 00:48:40 +0000 (-0400) Subject: Documentation: rculfhash: cds_lfht_resize not within read-side C.S. X-Git-Tag: v0.8.0~93 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=43387742bc856603330eb530094a702d847503a0;p=userspace-rcu.git Documentation: rculfhash: cds_lfht_resize not within read-side C.S. Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 0a8abff..4d50f08 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -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);