libgrape-lite
A C++ library for parallel graph processing
|
A simple implementation of spinlock based on std::atomic. More...
#include <concurrent_queue.h>
Public Member Functions | |
void | lock () |
void | unlock () |
Private Attributes | |
std::atomic_flag | locked = ATOMIC_FLAG_INIT |
A simple implementation of spinlock based on std::atomic.