comparison src/event/modules/ngx_select_module.c @ 36:c14d7232b11f

nginx-0.0.1-2002-12-23-09:29:22 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Dec 2002 06:29:22 +0000
parents 53cb81681040
children 2ffaa35fba42
comparison
equal deleted inserted replaced
35:79c1fce18e71 36:c14d7232b11f
27 static ngx_event_t **event_index; 27 static ngx_event_t **event_index;
28 static ngx_event_t **ready_index; 28 static ngx_event_t **ready_index;
29 static ngx_event_t timer_queue; 29 static ngx_event_t timer_queue;
30 /* */ 30 /* */
31 31
32 static fd_set *ngx_select_get_fd_set(ngx_socket_t fd, int event,
33 ngx_log_t *log);
34
35 int ngx_select_init(int max_connections, ngx_log_t *log) 32 int ngx_select_init(int max_connections, ngx_log_t *log)
36 { 33 {
37 if (max_connections > FD_SETSIZE) { 34 if (max_connections > FD_SETSIZE) {
38 ngx_log_error(NGX_LOG_EMERG, log, 0, 35 ngx_log_error(NGX_LOG_EMERG, log, 0,
39 #if (WIN32) 36 #if (WIN32)