X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=README;h=02cec268ac359d988d1ce3c811b2980e98ae385d;hp=d47e5df9465070010a15797671ed48195dcf0628;hb=1050892f30b28680a92f7d6966656d688201037b;hpb=6991f61a6a02d95a4275bcc90aa9bb7037a9e69e 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