souffle
2.0.2-371-g6315b36
|
A 'sequential' non-locking implementation for a spin lock. More...
#include <ParallelUtil.h>
Public Member Functions | |
void | lock () |
SpinLock ()=default | |
bool | try_lock () |
void | unlock () |
A 'sequential' non-locking implementation for a spin lock.
Definition at line 487 of file ParallelUtil.h.
|
default |
|
inline |
Definition at line 491 of file ParallelUtil.h.
Referenced by souffle::PiggyList< std::atomic< block_t > >::append(), souffle::PiggyList< std::atomic< block_t > >::createNode(), souffle::RandomInsertPiggyList< SparseDomain >::freeList(), souffle::PiggyList< std::atomic< block_t > >::freeList(), and souffle::RandomInsertPiggyList< SparseDomain >::insertAt().
|
inline |
Definition at line 493 of file ParallelUtil.h.
|
inline |
Definition at line 497 of file ParallelUtil.h.
Referenced by souffle::PiggyList< std::atomic< block_t > >::append(), souffle::PiggyList< std::atomic< block_t > >::createNode(), souffle::RandomInsertPiggyList< SparseDomain >::freeList(), souffle::PiggyList< std::atomic< block_t > >::freeList(), and souffle::RandomInsertPiggyList< SparseDomain >::insertAt().