[][src]Crate qadapt_spin

Synchronization primitives based on spinning

Structs

Mutex

This type provides MUTual EXclusion based on spinning.

MutexGuard

A guard to which the protected data can be accessed

Once

A synchronization primitive which can be used to run a one-time global initialization. Unlike its std equivalent, this is generalized so that The closure returns a value and it is stored. Once therefore acts something like 1a future, too.

RwLock

A reader-writer lock

RwLockReadGuard

A guard to which the protected data can be read

RwLockWriteGuard

A guard to which the protected data can be written