X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=README;h=c571af521d69307be1ac701e3c5366953b30553d;hb=aa8c36e03126a731c6c925cb32a8649c9802198d;hp=d47e5df9465070010a15797671ed48195dcf0628;hpb=6991f61a6a02d95a4275bcc90aa9bb7037a9e69e;p=userspace-rcu.git 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