From aa8c36e03126a731c6c925cb32a8649c9802198d Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 16 May 2009 17:25:18 -0400 Subject: [PATCH] Document rcu_register_thread in README Signed-off-by: Mathieu Desnoyers --- README | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README b/README index d47e5df..c571af5 100644 --- a/README +++ b/README @@ -7,5 +7,12 @@ make pthreads-ppc make make install +Usage : + +Registration of _each thread_ calling read-side critical sections must be done +with rcu_register_thread() before using rcu_read_lock()/rcu_read_unlock(). + +Unregistration should be performed with rcu_unregister_thread() before exiting +the thread. Mathieu Desnoyers -- 2.34.1