Adding upstream version 0.6.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c49a9029dc
commit
7f70a05c55
465 changed files with 60158 additions and 0 deletions
7
regressions/ck_spinlock/ck_mcs.h
Normal file
7
regressions/ck_spinlock/ck_mcs.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#define LOCK_NAME "ck_mcs"
|
||||
#define LOCK_DEFINE static ck_spinlock_mcs_t CK_CC_CACHELINE lock = NULL
|
||||
#define LOCK_STATE ck_spinlock_mcs_context_t node CK_CC_CACHELINE;
|
||||
#define LOCK ck_spinlock_mcs_lock(&lock, &node)
|
||||
#define UNLOCK ck_spinlock_mcs_unlock(&lock, &node)
|
||||
#define LOCKED ck_spinlock_mcs_locked(&lock)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue