summaryrefslogtreecommitdiffstats
path: root/regressions/ck_spinlock/ck_ticket_pb.h
blob: b8a7a84ea1f96b074716ee14928bfd93bafb8ef3 (plain)
1
2
3
4
5
6
#define LOCK_NAME "ck_ticket_pb"
#define LOCK_DEFINE static ck_spinlock_ticket_t CK_CC_CACHELINE lock = CK_SPINLOCK_TICKET_INITIALIZER
#define LOCK ck_spinlock_ticket_lock_pb(&lock, 0)
#define UNLOCK ck_spinlock_ticket_unlock(&lock)
#define LOCKED ck_spinlock_ticket_locked(&lock)