SpinLock

A simple spinlock

struct SpinLock {}

Members

Functions

lock
void lock()

Spin until lock is free

unlock
void unlock()

Atomically unlock

Meta