X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=include%2Furcu%2Frculfhash.h;fp=include%2Furcu%2Frculfhash.h;h=fbd33cc3ff346c704ae264d724563977a5ff473f;hp=8586e1da371f86e2c19518f60a8cef69e6db691e;hb=b047e7a793421e3ff1f5dca2b27c72751a1f4db4;hpb=5159c1cfe462deaeae7f2f2915a263f47cdd343c diff --git a/include/urcu/rculfhash.h b/include/urcu/rculfhash.h index 8586e1d..fbd33cc 100644 --- a/include/urcu/rculfhash.h +++ b/include/urcu/rculfhash.h @@ -247,16 +247,16 @@ 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. + * * Prior to liburcu 0.10: - * - 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. It should *not* be called from a call_rcu thread * context neither. * * Starting from liburcu 0.10, rculfhash implements its own worker - * thread to handle resize operations, which removes RCU requirements on - * cds_lfht_destroy. + * thread to handle resize operations, which removes the above RCU + * read-side critical section requirement on cds_lfht_destroy. */ extern int cds_lfht_destroy(struct cds_lfht *ht, pthread_attr_t **attr);