Lely core libraries  2.2.5
ev_fiber_mtx_impl Struct Reference

The implementation of a fiber mutex. More...

Collaboration diagram for ev_fiber_mtx_impl:

Data Fields

int type
 The type of mutex: ev_fiber_mtx_plain or ev_fiber_mtx_recursive.
 
mtx_t mtx
 The mutex protecting locked and queue.
 
struct ev_fiber_ctxctx
 A pointer to the fiber holding the lock.
 
size_t locked
 The number of times the mutex has been recursively locked.
 
struct sllist queue
 The queue of fibers waiting to acquire the lock.
 

Detailed Description

The implementation of a fiber mutex.

Definition at line 153 of file fiber_exec.c.


The documentation for this struct was generated from the following file: