Skip to main content

concurrent/
lib.rs

1// Copyright 2026 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
5#![no_std]
6
7#[cfg(test)]
8extern crate std;
9
10mod common;
11pub mod copy;
12mod seqlock;
13mod seqlock_payload;
14
15pub use common::{SYNC_OPT_ACQ_REL_OPS, SYNC_OPT_FENCE, SYNC_OPT_NONE, SyncOpt};
16pub use copy::{
17    MAX_TRANSFER_GRANULARITY, WellDefinedCopyable, well_defined_copy_from, well_defined_copy_to,
18};
19pub use seqlock::{ReadTransactionToken, SeqLock, SequenceNumber, WriteGuard};
20pub use seqlock_payload::SeqLockPayload;