Class SpinLock
A mutex-free lock based on noop loops.
class SpinLock
;
Methods
Name | Description |
---|---|
lock
()
|
Blocks until unlock() is called.
|
unlock
()
|
Allows code blocking on lock() to continue to execute.
|