6 releases (3 breaking)
Uses old Rust 2015
0.4.0 | Oct 8, 2017 |
---|---|
0.3.0 | Oct 6, 2017 |
0.2.1 | Oct 4, 2017 |
0.1.1 | Oct 3, 2017 |
#29 in #shutdown
132 downloads per month
Used in cg-local-app
11KB
224 lines
Semaphore
Atomic counting semaphore that can help you control access to a common resource by multiple processes in a concurrent system.
Features
- Effectively lock-free* semantics
- Provides RAII-style acquire/release API
- Implements
Send
,Sync
andClone
* lock-free when not using the shutdown
API
lib.rs
:
Atomic counting semaphore that can help you control access to a common resource by multiple processes in a concurrent system.
Features
- Effectively lock-free* semantics
- Provides RAII-style acquire/release API
- Implements
Send
,Sync
andClone
* lock-free when not using the shutdown
API
Dependencies
~1MB
~17K SLoC