X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=README.md;h=ba5bb08deab9dd8f3a912b4d92835b37151c46d3;hb=1cf55ba47342156cdf25335264b9774a16e0bb2d;hp=2fe14c3db756394d2cdf2c09ebe5e1b018c89324;hpb=3c3f9aff1e6980292d31a7819d7ba998e8d0b754;p=userspace-rcu.git diff --git a/README.md b/README.md index 2fe14c3..ba5bb08 100644 --- a/README.md +++ b/README.md @@ -250,6 +250,14 @@ protected pointer. After, `urcu__synchronize_rcu()` must be called. When it returns, the old values are not in usage anymore. +As an alternative to `urcu__synchronize_rcu()`, +it is also possible to use the urcu polling mechanism to wait for a +grace period to elapse. This can be done by using +`urcu__start_poll_synchronize_rcu()` +to start the grace period polling, and then invoke +`urcu__poll_state_synchronize_rcu()`, which returns true if +the grace period has completed, false otherwise. + ### Usage of `liburcu-defer`