LOCK
#undef LOCK
#define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s);
#undef LOCK
#define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s);
static inline status_t LOCK(lock *l)
#define LOCK mutex_lock
#define LOCK(l) if (atomic_add(&l.c, -1) <= 0) acquire_sem(l.s);