1 //! Thread synchronization primitives.
3 //! * [`Parker`], a thread parking primitive.
4 //! * [`ShardedLock`], a sharded reader-writer lock with fast concurrent reads.
5 //! * [`WaitGroup`], for synchronizing the beginning or end of some computation.
7 //! [`Parker`]: struct.Parker.html
8 //! [`ShardedLock`]: struct.ShardedLock.html
9 //! [`WaitGroup`]: struct.WaitGroup.html
15 pub use self::parker
::{Parker, Unparker}
;
16 pub use self::sharded_lock
::{ShardedLock, ShardedLockReadGuard, ShardedLockWriteGuard}
;
17 pub use self::wait_group
::WaitGroup
;