|
Lely core libraries 2.3.2
|
The implementation of a fiber mutex. More...

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_ctx * | ctx |
| 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. | |
The implementation of a fiber mutex.
Definition at line 156 of file fiber_exec.c.