X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.h;h=af7d75cb7bc9e389ba9896a9207695d4feea9540;hp=b46033f29090582749b949f30e2a6d95e2723c79;hb=7abf2d0da3b328572a17c9457b33c3890b0ba58b;hpb=af02d47e5d0712e5ccde6d8f1ee89f18de798cad 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