switchy_async 0.2.0

Switchy Async runtime package
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Synchronization primitives for the simulator runtime.
//!
//! This module provides channels, locks, and barriers for coordinating async tasks
//! in the simulator environment.

pub use tokio::sync::{AcquireError, Mutex, RwLock, RwLockReadGuard, Semaphore, oneshot};

pub mod barrier;
pub mod mpmc;
pub mod mpsc;

pub use barrier::{Barrier, BarrierWaitResult};