P99

◆ p99_cm_unlock()

void p99_cm_unlock ( p99_cm volatile *  p00_cm)
related

Unconditionally unlock p00_cm and wake up a waiter, if any.

This has a similar effect as would have a combination ::cnd_signal and ::mtx_unlock for a standard mutex. That is, one thread, if any, that is either waiting in p99_cm_lock or p99_cm_wait is woken up and acquires the lock.

Definition at line 146 of file p99_cm.h.