comparison src/event/ngx_event.c @ 97:70d2345a903f

nginx-0.0.1-2003-05-29-17:02:09 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 29 May 2003 13:02:09 +0000
parents a23d010f356d
children 7e86d028d8f0
comparison
equal deleted inserted replaced
96:a23d010f356d 97:70d2345a903f
7 7
8 8
9 #define DEF_CONNECTIONS 1024 9 #define DEF_CONNECTIONS 1024
10 10
11 11
12 extern ngx_event_module_t ngx_select_module_ctx; 12 extern ngx_module_t ngx_select_module;
13 13
14 #if (HAVE_KQUEUE) 14 #if (HAVE_KQUEUE)
15 #include <ngx_kqueue_module.h> 15 #include <ngx_kqueue_module.h>
16 #endif 16 #endif
17 17
120 120
121 121
122 122
123 int ngx_pre_thread(ngx_array_t *ls, ngx_pool_t *pool, ngx_log_t *log) 123 int ngx_pre_thread(ngx_array_t *ls, ngx_pool_t *pool, ngx_log_t *log)
124 { 124 {
125 int m, i, fd; 125 int m, i, fd;
126 126 ngx_listen_t *s;
127 ngx_listen_t *s; 127 ngx_event_t *ev;
128 ngx_event_t *ev; 128 ngx_connection_t *c;
129 ngx_connection_t *c; 129 ngx_event_conf_t *ecf;
130 ngx_event_conf_t *ecf;
131 ngx_event_module_t *module; 130 ngx_event_module_t *module;
132 131
133 ecf = ngx_event_get_conf(ngx_event_module); 132 ecf = ngx_event_get_conf(ngx_event_module);
134 133
135 ngx_log_debug(log, "CONN: %d" _ ecf->connections); 134 ngx_log_debug(log, "CONN: %d" _ ecf->connections);