Skip to main content

GUARD_AWAITS

Constant GUARD_AWAITS 

Source
const GUARD_AWAITS: &[&str];
Expand description

Awaited operations that acquire something held afterwards (a lock, permit or transaction). A statement that keeps the guard is a barrier; one that drops it inside a nested block (its own critical section) may still move, since the lock itself keeps mutual exclusion.