X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=README;h=02cec268ac359d988d1ce3c811b2980e98ae385d;hb=5fd99b323b0d40c8f5596c31132084566ddc5e92;hp=d47e5df9465070010a15797671ed48195dcf0628;hpb=6991f61a6a02d95a4275bcc90aa9bb7037a9e69e;p=urcu.git diff --git a/README b/README index d47e5df..02cec26 100644 --- a/README +++ b/README @@ -1,11 +1,14 @@ build instructions for userspace-rcu library : -make pthreads-x86 -or -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