summaryrefslogtreecommitdiffstats
path: root/regressions/ck_spinlock/ck_fas.h
blob: e2447464eed5089f9eb437505d0fa6348fa86591 (plain)
1
2
3
4
5
6
#define LOCK_NAME "ck_fas"
#define LOCK_DEFINE static ck_spinlock_fas_t CK_CC_CACHELINE lock = CK_SPINLOCK_FAS_INITIALIZER
#define LOCK ck_spinlock_fas_lock_eb(&lock)
#define UNLOCK ck_spinlock_fas_unlock(&lock)
#define LOCKED ck_spinlock_fas_locked(&lock)