X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=README;h=c571af521d69307be1ac701e3c5366953b30553d;hp=d47e5df9465070010a15797671ed48195dcf0628;hb=aa8c36e03126a731c6c925cb32a8649c9802198d;hpb=27afafe29f0395b9f70e7a7e71605598ae3015d3 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