AI Generated (🤦) Fiber subsystem overview.
void srn_fiber_mutex_init(srn_fiber_mutex_t *m)
Initialise m to the unlocked state.
void srn_fiber_mutex_unlock(srn_fiber_mutex_t *m)
Release m.
void srn_fiber_mutex_lock(srn_fiber_mutex_t *m)
Acquire m.
srn_fiber_t * waiters_head
A private (In the sense that it only touched only by the current lock holder during unlock) pointer t...
_Atomic(srn_fiber_t *) state
A pointer to the waiter's stack head.