[][src]Module cntrlr::sync

Synchronization primitives

Structs

Flag

A true or false flag

Mutex

A simple lock

MutexGuard

An RAII guard for a Mutex

Once

A value which can be initalized only once

Value

An atomic pointer-sized value

Functions

enable_interrupts

Enable interrupts

without_interrupts

Runs the passed closure without interrupts, in a critical section.