X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=README.md;fp=README.md;h=ba5bb08deab9dd8f3a912b4d92835b37151c46d3;hp=2fe14c3db756394d2cdf2c09ebe5e1b018c89324;hb=111bda8f5fa6ff4d5d50605ccbe56d9622498ef4;hpb=b047e7a793421e3ff1f5dca2b27c72751a1f4db4 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`