Thread Struct Reference

stores information about a single thread More...

#include <EventServer.h>

List of all members.

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


Detailed Description

stores information about a single thread

Definition at line 185 of file EventServer.h.


Member Data Documentation

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.


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

Generated on Fri Jan 8 10:38:13 2010 for dreamcache by  doxygen 1.5.5