Apache Mesos
Namespaces | Macros | Enumerations | Functions | Variables
libevent.hpp File Reference
#include <event2/event.h>
#include <stout/lambda.hpp>

Go to the source code of this file.

Namespaces

 process
 

Macros

#define __in_event_loop__
 

Enumerations

enum  process::EventLoopLogicFlow { process::ALLOW_SHORT_CIRCUIT, process::DISALLOW_SHORT_CIRCUIT }
 

Functions

void process::run_in_event_loop (const lambda::function< void()> &f, EventLoopLogicFlow event_loop_logic_flow=ALLOW_SHORT_CIRCUIT)
 

Variables

event_base * process::base
 

Macro Definition Documentation

#define __in_event_loop__
Value:
*(_in_event_loop_ == nullptr ? \
_in_event_loop_ = new bool(false) : _in_event_loop_)
thread_local struct ev_loop * _in_event_loop_
Definition: libevent.hpp:28