93 #define mcs_nil (struct mcs_node_s*) 0
struct mcs_node_s mcs_node_t
bool mcs_trylock(mcs_lock_t *l, mcs_node_t *me)
void mcs_unlock(mcs_lock_t *l, mcs_node_t *me)
#define atomic_init(obj, value)
void mcs_lock(mcs_lock_t *l, mcs_node_t *me)
_Atomic(struct mcs_node_s *) next
static void mcs_init(mcs_lock_t *l)