2 unstable releases
0.2.1 | Apr 29, 2022 |
---|---|
0.2.0 |
|
0.1.0 | Apr 28, 2022 |
#1062 in Concurrency
9KB
181 lines
semaphorus
This crate adds syncronous semaphores to rust.
This is different from like the semaphore
crate because
semaphorus
supports#![no_std]
semaphorus
doesn't useArc
under the hood and behaves more likeRwLock<T>
, this does require the semaphores to be in anArc
for multithreading as they don't implement clone
lib.rs
:
semaphorus
add a Semaphore
type that behaves like a RwLock