P99

◆ p99_cm_lock()

void p99_cm_lock ( p99_cm volatile *  p00_cm)
related

Acquire p00_cm.

If p00_cm is currently held this function is is blocking.

Warning
If p00_cm is already held by the same thread calling this function results in a deadlock of the thread.

Definition at line 162 of file p99_cm.h.

References p99_futex::P99_FUTEX_COMPARE_EXCHANGE.