ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.sync.rcu.core Module Reference

Data Structures

class  zxfoundation::sync::rcu::read_guard
 RAII RCU read-side guard (inline OK — calls exported non-TU-local functions). More...

Functions

template<typename T>
auto zxfoundation::sync::rcu::assign_pointer (T *&ptr, T *v) noexcept -> void
 Publish a pointer with release semantics.
auto zxfoundation::sync::rcu::barrier () noexcept -> void
 Wait until all enqueued call_rcu callbacks have fired.
auto zxfoundation::sync::rcu::call_rcu (rcu_head *head, void(*func)(rcu_head *) noexcept) noexcept -> void
 Enqueue a deferred callback after the next grace period.
template<typename T>
auto zxfoundation::sync::rcu::dereference (T *const &ptr) noexcept -> T *
 Load a RCU-protected pointer with acquire semantics.
auto zxfoundation::sync::rcu::init () noexcept -> void
auto operator= (const read_guard &)=delete
 read_guard (const read_guard &)=delete
auto zxfoundation::sync::rcu::read_lock () noexcept -> void
 Exit an RCU read-side critical section.
auto zxfoundation::sync::rcu::read_unlock () noexcept -> void
 Enter an RCU read-side critical section.
auto zxfoundation::sync::rcu::synchronize_rcu () noexcept -> void
 Block until all pre-existing RCU readers complete.
auto zxfoundation::sync::rcu::tick () noexcept -> void
 Per-CPU RCU tick: report QS, manage GPs, drain callbacks.

Files

file  zxfoundation/sync/rcu.zcomponent/core.cxxm
file  zxfoundation/sync/rcu.zcomponent/core.cxx