parent
33f30ac941
commit
d0745f51ee
@ -1,5 +1,5 @@
|
||||
#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, 5)
|
||||
#define LOCK ck_spinlock_ticket_lock_pb(&lock, 0)
|
||||
#define UNLOCK ck_spinlock_ticket_unlock(&lock)
|
||||
|
||||
|
Loading…
Reference in new issue