[][src]Module drone_core::sync

Useful synchronization primitives.

Modules

spsc

Single-producer, single-consumer communication primitives.

Structs

Mutex

A mutual exclusion primitive useful for protecting shared data.

MutexGuard

An RAII implementation of a "scoped lock" of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.

RwLock

A reader-writer lock.

RwLockReadGuard

RAII structure used to release the shared read access of a lock when dropped.

RwLockWriteGuard

RAII structure used to release the exclusive write access of a lock when dropped.