[][src]Module flv_future_aio::sync

Modules

broadcast
mpsc

Structs

Arc

A thread-safe reference-counting pointer. 'Arc' stands for 'Atomically Reference Counted'.

Barrier

A barrier enables multiple tasks to synchronize the beginning of some computation.

BarrierWaitResult

A BarrierWaitResult is returned by wait when all threads in the Barrier have rendezvoused.

Channel

abstraction for multi sender receiver channel

Mutex

A mutual exclusion primitive for protecting shared data.

MutexGuard

A guard that releases the lock when dropped.

RwLock

A reader-writer lock for protecting shared data.

RwLockReadGuard

A guard that releases the read lock when dropped.

RwLockWriteGuard

A guard that releases the write lock when dropped.

Weak

Weak is a version of Arc that holds a non-owning reference to the managed allocation. The allocation is accessed by calling upgrade on the Weak pointer, which returns an Option<Arc<T>>.