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

Data Structures

struct  zxfoundation::sync::rcu::rcu_head
 Deferred-callback node embedded in the object to be freed. More...

Typedefs

using zxfoundation::sync::rcu::gp_seq_t = u64
 Grace-period sequence number type.

Functions

constexpr auto zxfoundation::sync::rcu::gp_in_progress (gp_seq_t seq) noexcept -> bool
 Return true if a grace period is currently in progress.
constexpr auto zxfoundation::sync::rcu::gp_seq_after (gp_seq_t a, gp_seq_t b) noexcept -> bool
 Return true if gp_seq a is "after" gp_seq b (modular arithmetic).

Variables

void(* func )(rcu_head *head) noexcept
rcu_headnext {nullptr}
 Intrusive list linkage (single-linked).
constexpr u32 zxfoundation::sync::rcu::RCU_MAX_DRAIN_PER_TICK = 64U
 Maximum number of callbacks to drain per tick per CPU.

Files

file  zxfoundation/sync/rcu.zcomponent/types.cxxm