From 43387742bc856603330eb530094a702d847503a0 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 29 Apr 2013 20:48:40 -0400 Subject: [PATCH] Documentation: rculfhash: cds_lfht_resize not within read-side C.S. Signed-off-by: Mathieu Desnoyers --- urcu/rculfhash.h | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.34.1