mxnet
|
Simple userspace spinlock implementation. More...
#include <concurrency.h>
Public Member Functions | |
Spinlock () | |
~Spinlock ()=default | |
void | lock () noexcept(true) |
Acquire lock. More... | |
void | unlock () noexcept(true) |
Release lock. More... | |
Simple userspace spinlock implementation.
|
inline |
|
default |
|
inlinenoexcept |
Acquire lock.
|
inlinenoexcept |
Release lock.