Sha256: eca73c04f821859b8434d2b93db87d160dc6a3f65498ca201cd40d732ca4c134
Contents?: true
Size: 564 Bytes
Versions: 39
Compression:
Stored size: 564 Bytes
Contents
//! Thread synchronization primitives. //! //! * [`Parker`], a thread parking primitive. //! * [`ShardedLock`], a sharded reader-writer lock with fast concurrent reads. //! * [`WaitGroup`], for synchronizing the beginning or end of some computation. #[cfg(not(crossbeam_loom))] mod once_lock; mod parker; #[cfg(not(crossbeam_loom))] mod sharded_lock; mod wait_group; pub use self::parker::{Parker, Unparker}; #[cfg(not(crossbeam_loom))] pub use self::sharded_lock::{ShardedLock, ShardedLockReadGuard, ShardedLockWriteGuard}; pub use self::wait_group::WaitGroup;
Version data entries
39 entries across 39 versions & 1 rubygems