libtasks Documentation  1.6
tasks::event Struct Reference

#include <worker.h>

Collaboration diagram for tasks::event:

Public Attributes

tasks::event_tasktask
 
int revents
 

Detailed Description

Put all queued events into a queue instead of handling them directly from handle_io_event as multiple events can fire and we want to promote the next leader after the ev_loop call returns to avoid calling it from multiple threads.

Definition at line 50 of file worker.h.

Member Data Documentation

int tasks::event::revents

Definition at line 52 of file worker.h.

tasks::event_task* tasks::event::task

Definition at line 51 of file worker.h.


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