A semaphore-like control structure in Rust.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julio Biason e6bbb1d72e chore: Burocratic things (readme, license, authors) 3 months ago
src Initial structure 3 months ago
.gitignore Initial structure 3 months ago
AUTHORS chore: Burocratic things (readme, license, authors) 3 months ago
COPYING chore: Burocratic things (readme, license, authors) 3 months ago
Cargo.lock Initial structure 3 months ago
Cargo.toml Initial structure 3 months ago
README.md chore: Burocratic things (readme, license, authors) 3 months ago

README.md

Beacon

Beacon is a pure "std" semaphore in Rust, which allows requesting multiple leases at the same time.

(Note that this doesn't use the system semaphore primitive, since it is not available in std.)