comparison src/core/ngx_core.h @ 6018:466bd63b63d1

Thread pools implementation.
author Valentin Bartenev <vbart@nginx.com>
date Sat, 14 Mar 2015 17:37:07 +0300
parents 777202558122
children 682d8222c6b1 db08fed33195
comparison
equal deleted inserted replaced
6017:83d54192e97b 6018:466bd63b63d1
19 typedef struct ngx_command_s ngx_command_t; 19 typedef struct ngx_command_s ngx_command_t;
20 typedef struct ngx_file_s ngx_file_t; 20 typedef struct ngx_file_s ngx_file_t;
21 typedef struct ngx_event_s ngx_event_t; 21 typedef struct ngx_event_s ngx_event_t;
22 typedef struct ngx_event_aio_s ngx_event_aio_t; 22 typedef struct ngx_event_aio_s ngx_event_aio_t;
23 typedef struct ngx_connection_s ngx_connection_t; 23 typedef struct ngx_connection_s ngx_connection_t;
24
25 #if (NGX_THREADS)
26 typedef struct ngx_thread_task_s ngx_thread_task_t;
27 #endif
24 28
25 typedef void (*ngx_event_handler_pt)(ngx_event_t *ev); 29 typedef void (*ngx_event_handler_pt)(ngx_event_t *ev);
26 typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); 30 typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c);
27 31
28 32