esync

Crates.ioesync
lib.rsesync
version0.1.2
sourcesrc
created_at2024-09-26 13:48:06.960272
updated_at2024-09-26 19:56:48.769972
descriptionThis package contains some useful synchronization primitives
homepagehttps://github.com/mchelaru/esync
repositoryhttps://github.com/mchelaru/esync
max_upload_size
id1387496
size7,955
mchelaru (mchelaru)

documentation

https://docs.rs/esync/latest/esync/

README

Extended synchronization primitives

This package contains some primitives that I am using across my projects.

Semaphore

Example:

let sem = Semaphore::new(10);
sem.wait();
// do important things here
sem.release();
Commit count: 12

cargo fmt