comparison src/event/modules/ngx_select_module.c @ 59:e8cdc2989cee

nginx-0.0.1-2003-02-06-20:21:13 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 06 Feb 2003 17:21:13 +0000
parents d1e42f1b8fd4
children e43f406e4525
comparison
equal deleted inserted replaced
58:6b13b1cadabe 59:e8cdc2989cee
21 static int max_write; 21 static int max_write;
22 #else 22 #else
23 static int max_fd; 23 static int max_fd;
24 #endif 24 #endif
25 25
26 static int nevents; 26 static u_int nevents;
27 27
28 static ngx_event_t **event_index; 28 static ngx_event_t **event_index;
29 static ngx_event_t **ready_index; 29 static ngx_event_t **ready_index;
30 static ngx_event_t *timer_queue; 30 static ngx_event_t *timer_queue;
31 /* */ 31 /* */
175 return NGX_OK; 175 return NGX_OK;
176 } 176 }
177 177
178 int ngx_select_process_events(ngx_log_t *log) 178 int ngx_select_process_events(ngx_log_t *log)
179 { 179 {
180 int ready, found, nready; 180 int ready, found;
181 u_int i; 181 u_int i, nready;
182 ngx_msec_t timer, delta; 182 ngx_msec_t timer, delta;
183 ngx_event_t *ev; 183 ngx_event_t *ev;
184 ngx_connection_t *c; 184 ngx_connection_t *c;
185 struct timeval tv, *tp; 185 struct timeval tv, *tp;
186 186