Mercurial > hg > nginx
diff src/event/ngx_event.h @ 3:34a521b1a148
nginx-0.0.1-2002-08-20-18:48:28 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 20 Aug 2002 14:48:28 +0000 |
parents | d220029ac7f3 |
children | 669801705ab1 |
line wrap: on
line diff
--- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -4,7 +4,10 @@ #include <ngx_config.h> #include <ngx_types.h> +#include <ngx_socket.h> #include <ngx_log.h> +#include <ngx_alloc.h> +#include <ngx_array.h> typedef struct ngx_event_s ngx_event_t; @@ -76,13 +79,12 @@ typedef struct { */ } ngx_event_actions_t; + /* - NGX_LEVEL_EVENT (default) select, poll, kqueue requires to read whole data NGX_ONESHOT_EVENT kqueue NGX_CLEAR_EVENT kqueue - */ #if (HAVE_KQUEUE) @@ -135,7 +137,8 @@ extern ngx_event_type_e ngx_event_t #endif -void ngx_worker(ngx_listen_t *sock, int n, ngx_pool_t *pool, ngx_log_t *log); +void ngx_pre_thread(ngx_array_t *ls, ngx_pool_t *pool, ngx_log_t *log); +void ngx_worker(ngx_log_t *log); #endif /* _NGX_EVENT_H_INCLUDED_ */