Module crossbeam_utils::sync

source ·
Expand description

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.

Structs

A thread parking primitive.
A sharded reader-writer lock.
A guard used to release the shared read access of a ShardedLock when dropped.
A guard used to release the exclusive write access of a ShardedLock when dropped.
Unparks a thread parked by the associated Parker.
Enables threads to synchronize the beginning or end of some computation.