Crate qadapt_spin

source ·
Expand description

Synchronization primitives based on spinning

Structs

This type provides MUTual EXclusion based on spinning.
A guard to which the protected data can be accessed
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.
A reader-writer lock
A guard to which the protected data can be read
A guard to which the protected data can be written