From: Mathieu Desnoyers Date: Mon, 10 Dec 2012 22:24:33 +0000 (-0500) Subject: documentation: fix rcu-api.txt duplicates X-Git-Tag: v0.8.0~123 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b1f69e84c6589f71e3f7b01aa85136d50fcc75d9;p=userspace-rcu.git documentation: fix rcu-api.txt duplicates Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/rcu-api.txt b/doc/rcu-api.txt index 72430f7..2a7e734 100644 --- a/doc/rcu-api.txt +++ b/doc/rcu-api.txt @@ -72,17 +72,6 @@ struct call_rcu_data *create_call_rcu_data(unsigned long flags, "cpu_affinity" specifies a cpu on which the call_rcu thread should be affined to. It is ignored if negative. -struct call_rcu_data *get_default_call_rcu_data(void); - - Returns the handle of the default call_rcu() helper thread. - -struct call_rcu_data *get_call_rcu_data(void); - - Returns the handle of the current thread's call_rcu() helper - thread, which might well be the default helper thread. - get_call_rcu_data should be called from registered RCU read-side - threads. For the QSBR flavor, the caller should be online. - void call_rcu_data_free(struct call_rcu_data *crdp); Terminates a call_rcu() helper thread and frees its associated @@ -114,7 +103,9 @@ struct call_rcu_data *get_call_rcu_data(void); Returns the handle for the current thread's call_rcu() helper thread, which is either, in increasing order of preference: per-thread hard-assigned helper thread, per-cpu helper thread, - or default helper thread. + or default helper thread. get_call_rcu_data should be called + from registered RCU read-side threads. For the QSBR flavor, the + caller should be online. pthread_t get_call_rcu_thread(struct call_rcu_data *crdp);