3 releases

0.1.2 Sep 26, 2024
0.1.1 Sep 26, 2024
0.1.0 Sep 26, 2024

#854 in Rust patterns

48 downloads per month

MIT/Apache

8KB
158 lines

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();

Dependencies

~315KB