Crate nb_sync [] [src]

Nonblocking synchronization structures

This crate is designed for no_std applications where heap allocation is not possible. As such, there is no dependency on the standard library and all allocations are the responsibility of the caller.

Modules

fifo

FIFO implemented using the nb non-blocking I/O API.

Structs

Mutex

Mutex with interior mutability

MutexGuard

Scoped mutex access. This will unlock the mutex when dropped.