X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu.c;h=a78c02bdca6a71f9e7f66c76295fc8f1f33cdd37;hb=15302e2854ad9f1377ec81e331c1bec7a54a5621;hp=15def09adb7e7feeeaba49f2d1d2a1c33a90bf59;hpb=5bffdd5dda6e9cc1df8ed4bda24b7d72d1732faa;p=urcu.git diff --git a/urcu.c b/urcu.c index 15def09..a78c02b 100644 --- a/urcu.c +++ b/urcu.c @@ -429,6 +429,11 @@ void rcu_read_unlock(void) _rcu_read_unlock(); } +int rcu_read_ongoing(void) +{ + return _rcu_read_ongoing(); +} + void rcu_register_thread(void) { URCU_TLS(rcu_reader).tid = pthread_self();