X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=urcu%2Frculfhash.h;h=727f5c9723131c144a20e0e7ee8ad2b2dbdd231c;hb=56e676d2f8caf811934a1490ee0aeaf545e9d768;hp=0496662e209c250f0e11ea1e83cecd25eaa06eae;hpb=f2349708a5aa3999540805985eab63d2f4a661d9;p=urcu.git diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 0496662..727f5c9 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -177,6 +177,9 @@ struct cds_lfht *cds_lfht_new(unsigned long init_size, * 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. + * In userspace RCU 0.7.x, for QSBR RCU flavor, cds_lfht_destroy() has a + * side-effect: it puts the caller thread in "online" state. This will + * be fixed in userspace RCU 0.8.x. */ int cds_lfht_destroy(struct cds_lfht *ht, pthread_attr_t **attr); @@ -426,6 +429,11 @@ 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. + * In userspace RCU 0.7.x, for QSBR RCU flavor, cds_lfht_resize() has a + * side-effect: it puts the caller thread in "online" state. This will + * be fixed in userspace RCU 0.8.x. */ void cds_lfht_resize(struct cds_lfht *ht, unsigned long new_size);