A simple semaphore.
Documentation
Add this to your Cargo.toml:
Cargo.toml
```toml [dependencies]
sema = "*" ```
and this to your crate root:
rust extern crate sema;
Sema provides a safe Semaphore abstraction built on the POSIX sem_t type.
Semaphore
sem_t