Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 450 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 450 Bytes

lock-free-rs

Lock-free stuff in Rust

  • Arc: an atomically reference-counted smart pointer
  • CondVar: a condition variable
  • mpmc::channel: a multi-producer multi-consumer channel
  • mpsc::channel: a multi-producer single-consumer channel
  • Mutex: a mutual exclusion lock
  • oneshot::channel: a channel for sending a single value across threads
  • Queue: a Michael & Scott queue
  • RwLock: a reader-writer lock
  • SpinLock: a spin lock