Skip to main content

reifydb_runtime/sync/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2025 ReifyDB
3
4//! Synchronisation primitives that are mockable under deterministic simulation. The mutex, rwlock, condvar,
5//! waiter, and concurrent map exposed here delegate to native equivalents on real targets and to a virtualised
6//! scheduler on DST. Code that builds on `std::sync` directly cannot be replayed; code that builds on this module
7//! can.
8
9pub mod condvar;
10pub mod map;
11pub mod mutex;
12pub mod rwlock;
13pub mod waiter;