Class SpinLock

A mutex-free lock based on noop loops.

class SpinLock ;

Methods

NameDescription
lock () Blocks until unlock() is called.
unlock () Allows code blocking on lock() to continue to execute.