https://github.com/harryscholes/lock-free-rs
Lock-free stuff in Rust
https://github.com/harryscholes/lock-free-rs
Last synced: 3 months ago
JSON representation
Lock-free stuff in Rust
- Host: GitHub
- URL: https://github.com/harryscholes/lock-free-rs
- Owner: harryscholes
- Created: 2024-02-19T20:54:39.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-01T08:24:14.000Z (about 1 year ago)
- Last Synced: 2025-02-05T09:23:58.017Z (4 months ago)
- Language: Rust
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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