Crates.io | semaphorus |
lib.rs | semaphorus |
version | 0.2.1 |
source | src |
created_at | 2022-04-28 01:04:50.588009 |
updated_at | 2022-04-29 21:06:03.637819 |
description | Atomic semaphores |
homepage | |
repository | https://github.com/Raspberry1111/semaphorus |
max_upload_size | |
id | 576505 |
size | 21,219 |
This crate adds syncronous semaphores to rust.
This is different from like the semaphore
crate because
semaphorus
supports #![no_std]
semaphorus
doesn't use Arc
under the hood and behaves more like RwLock<T>
, this does require the semaphores to be in an Arc
for multithreading as they don't implement clone