X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.h;fp=urcu.h;h=af7d75cb7bc9e389ba9896a9207695d4feea9540;hp=b46033f29090582749b949f30e2a6d95e2723c79;hb=92b752ee39652e7df5995ae7c7acc40ec1c9b9a5;hpb=aa8c36e03126a731c6c925cb32a8649c9802198d diff --git a/urcu.h b/urcu.h index b46033f..af7d75c 100644 --- a/urcu.h +++ b/urcu.h @@ -34,6 +34,14 @@ #include #include +/* + * Important ! + * + * Each thread containing read-side critical sections must be registered + * with rcu_register_thread() before calling rcu_read_lock(). + * rcu_unregister_thread() should be called before the thread exits. + */ + #ifdef _LGPL_SOURCE #include