#include <EventServer.h>
Public Attributes | |
int | index |
thread indes | |
pthread_t | threadID |
thread ID to let us join | |
struct event_base * | eventBase |
thread's event_base | |
struct event | pipeEvent |
pipe event is to avoid event_base_loop from ever returning. | |
int | in |
reading end of pipe | |
int | out |
writing end of pipe | |
uint64_t | connections |
current number of connections served | |
uint64_t | totalConnections |
total number of connections accepted |
Definition at line 185 of file EventServer.h.
struct event Thread::pipeEvent [read] |
pipe event is to avoid event_base_loop from ever returning.
If we send something to the Thread.out descriptor and all connections will end - event_base_loop will return also.
Definition at line 203 of file EventServer.h.