libevfibers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
fbr_ev_base Struct Reference

Base struct for all events. More...

#include <fiber.h>

Data Fields

enum fbr_ev_type type
fbr_id_t id
int arrived
struct fbr_contextfctx
void * data
struct fbr_id_tailq_i item

Detailed Description

Base struct for all events.

All other event structures ``inherit'' this one by inclusion of it as ev_base member.

See Also
fbr_ev_upcast
fbr_ev_wait

Definition at line 455 of file fiber.h.

Field Documentation

int fbr_ev_base::arrived

flag indicating that this event has arrived

Definition at line 458 of file fiber.h.

fbr_id_t fbr_ev_base::id

id of a fiber that is waiting for this event

Definition at line 457 of file fiber.h.

enum fbr_ev_type fbr_ev_base::type

type of the event

Definition at line 456 of file fiber.h.


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