Galois
|
SimpleLock is a spinlock. More...
#include <SimpleLock.h>
Public Member Functions | |
constexpr | SimpleLock () |
SimpleLock (const SimpleLock &p) | |
SimpleLock & | operator= (const SimpleLock &p) |
void | lock () const |
void | unlock () const |
bool | try_lock () const |
bool | is_locked () const |
SimpleLock is a spinlock.
Copying a lock is unsynchronized (relaxed ordering)
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |