X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Frculfhash.h;h=afd0c3eafb34aff325843ea476b4714d90e86fe5;hb=d7a0f2fe29db52a5dff734a922ac33654f865836;hp=0a8abff3c7d226bb6e38873569edc480cee07013;hpb=b9c2790452412b7dc3bc1eba2675afc6912f9a1e;p=urcu.git diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 0a8abff..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); @@ -439,6 +440,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);