X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=README;h=96389add129001f9e67a15f63ed8368b37f02cc7;hb=256dd999d11736ebe5ad2865219879199c89cc90;hp=7753c8f957dfbf6acd9244b2fa2d9759879bc3f3;hpb=0a1d290b4432036a7c1bf4a1b251ec9086036a87;p=urcu.git diff --git a/README b/README index 7753c8f..96389ad 100644 --- a/README +++ b/README @@ -31,7 +31,7 @@ Usage of liburcu Usage of liburcu-mb * #include - * Compile code with "-DURCU_MB" + * Compile any _LGPL_SOURCE code using this library with "-DURCU_MB". * Link with "-lurcu-mb". * This version of the urcu library does not need to reserve a signal number. URCU_MB uses full memory barriers for @@ -52,7 +52,9 @@ Initialization Each thread that has reader critical sections (that uses rcu_read_lock()/rcu_read_unlock() must first register to the URCU - library. This is done by calling rcu_register_thread(). + library. This is done by calling rcu_register_thread(). Unregistration + must be performed before exiting the thread by using + rcu_unregister_thread(). Reading