design_pattern_for_c  V 1.00
event_threadpool_data.h File Reference

This is API as ThreadPool data definition for ThreadPooldesign petten by using libevent. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  event_subscriber_t
 EventSubscriber class instance definition, this is storaged in any threads. More...
 
struct  event_tpool_add_result_t
 add result definition More...
 

Used class name definition.

#define EV_TPOOL_READ   (0x01<<0)
 
#define EV_TPOOL_WRITE   (0x01<<1)
 
#define EV_TPOOL_HUNGUP   (0x01<<2)
 
typedef struct event_tpool_manager_tEventTPoolManager
 EventTPoolManager class definition. More...
 
typedef struct event_subscriber_t event_subscriber_t
 EventSubscriber class definition. More...
 
typedef struct event_subscriber_tEventSubscriber
 
typedef struct event_tpool_thread_info_tEventTPoolThreadInfo
 
typedef struct event_tpool_add_result_t event_tpool_add_result_t
 

Detailed Description

This is API as ThreadPool data definition for ThreadPooldesign petten by using libevent.

Definition in file event_threadpool_data.h.

Macro Definition Documentation

◆ EV_TPOOL_HUNGUP

#define EV_TPOOL_HUNGUP   (0x01<<2)

Definition at line 20 of file event_threadpool_data.h.

◆ EV_TPOOL_READ

#define EV_TPOOL_READ   (0x01<<0)

Definition at line 18 of file event_threadpool_data.h.

◆ EV_TPOOL_WRITE

#define EV_TPOOL_WRITE   (0x01<<1)

Definition at line 19 of file event_threadpool_data.h.

Typedef Documentation

◆ event_subscriber_t

EventSubscriber class definition.

Definition at line 32 of file event_threadpool_data.h.

◆ event_tpool_add_result_t

◆ EventSubscriber

Definition at line 32 of file event_threadpool_data.h.

◆ EventTPoolManager

EventTPoolManager class definition.

Definition at line 15 of file event_threadpool_data.h.

◆ EventTPoolThreadInfo

Definition at line 38 of file event_threadpool_data.h.