Skip to main content

fuchsia_rcu/
lib.rs

1// Copyright 2025 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5mod atomic_stack;
6mod rcu_arc;
7mod rcu_cell;
8mod rcu_option_arc;
9mod rcu_option_cell;
10mod rcu_ptr;
11mod rcu_read_scope;
12mod read_counters;
13mod state_machine;
14
15pub use rcu_arc::RcuArc;
16pub use rcu_cell::RcuCell;
17pub use rcu_option_arc::RcuOptionArc;
18pub use rcu_option_cell::RcuOptionCell;
19pub use rcu_ptr::RcuReadGuard;
20pub use rcu_read_scope::RcuReadScope;
21pub use state_machine::{rcu_drop, rcu_run_callbacks, rcu_synchronize};
22
23pub mod subtle {
24    pub use super::rcu_ptr::{RcuPtr, RcuPtrRef};
25}