From: Mathieu Desnoyers Date: Fri, 14 Jun 2013 12:15:21 +0000 (-0400) Subject: rculfhash: document destroy context limitations X-Git-Tag: v0.8.0~75 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a22bf98bc1ceccb8ba89dfdf73425dea77e60ae8;p=userspace-rcu.git rculfhash: document destroy context limitations Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 4d50f08..afd0c3e 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -177,7 +177,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 a call_rcu thread context + * neither. */ extern int cds_lfht_destroy(struct cds_lfht *ht, pthread_attr_t **attr);