semka 2.0.7

Semaphore implementation
Documentation

semka

Rust Crates.io Documentation

Semaphore primitive for Rust

Platform implementation

Windows

Uses winapi CreateSemaphoreW.

POSIX

All POSIX-compliant systems uses sem_init But it must be noted that awaiting can be interrupted by the signal, although implementation tries its best to handle these cases

POSIX implementation relies on libc

This includes all unix targets and fuchsia

Mac

Uses mach API.