X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=README;h=72e73de93f0244cb232f5c4dc7102c4c567db965;hb=3614f13cba39ebc3b12e2656c75e1b41e4d76873;hp=7cc8871398b4c0a8b255bf8ddabfcbb7a40ed846;hpb=c0a68bfa57908ee51e391f1a5676915b503bfb07;p=urcu.git diff --git a/README b/README index 7cc8871..72e73de 100644 --- a/README +++ b/README @@ -100,10 +100,16 @@ Usage of liburcu-defer * #include * Link with "-lurcu-defer" - * Provides call_rcu() primitive to enqueue delayed callbacks. Queued + * Provides defer_rcu() primitive to enqueue delayed callbacks. Queued callbacks are executed in batch periodically after a grace period. - Do _not_ use call_rcu() within a read-side critical section, because + Do _not_ use defer_rcu() within a read-side critical section, because it may call synchronize_rcu() if the thread queue is full. + * Provides defer_rcu_ratelimit() primitive, which acts just like + defer_rcu(), but takes an additional rate limiter callback forcing + synchronized callback execution of the limiter returns non-zero. + * Requires that rcu_defer_barrier() must be called in library destructor + if a library queues callbacks and is expected to be unloaded with + dlclose(). Being careful with signals