Lely core libraries 2.3.4
ev_fiber_exec Struct Reference

The implementation of a fiber executor. More...

Collaboration diagram for ev_fiber_exec:

Data Fields

const struct ev_exec_vtblexec_vptr
 A pointer to the virtual table for the executor interface.
 
ev_exec_tinner_exec
 A pointer to the inner executor.
 
struct ev_task task
 The task used to create new fibers.
 
struct ev_fiber_thrdthr
 A pointer to the ev_fiber_thrd instance for this executor.
 
size_t pending
 The number of pending fibers available to execute a task.
 
mtx_t mtx
 The mutex protecting posted and queue.
 
int posted
 A flag indicating whether task has been posted to inner_exec.
 
struct sllist queue
 The queue of tasks submitted to this executor.
 

Detailed Description

The implementation of a fiber executor.

Definition at line 98 of file fiber_exec.c.


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