X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=README.md;h=ba5bb08deab9dd8f3a912b4d92835b37151c46d3;hb=90f72b8c054ca4e3b4b45f630549c784e26ce79a;hp=cd24cc53ba0f3887d08c467be033f2e6af6f661d;hpb=cef5f31d82517e28a0980ecdc907b2f816185455;p=userspace-rcu.git diff --git a/README.md b/README.md index cd24cc5..ba5bb08 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,6 @@ Should also work on: - Android - NetBSD 5 - OpenBSD - - Darwin (more testing needed before claiming support for these OS). @@ -251,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`