Mercurial > hg > nginx-vendor-0-5
comparison src/event/ngx_event.c @ 42:41ccba1aba45 NGINX_0_1_21
nginx 0.1.21
*) Bugfix: the ngx_http_stub_status_module showed incorrect statistics
if "rtsig" method was used or if several worker process ran on SMP.
*) Bugfix: nginx could not be built by the icc compiler on Linux or if
the zlib-1.2.x library was building from sources.
*) Bugfix: nginx could not be built on NetBSD 2.0.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 22 Feb 2005 00:00:00 +0300 |
parents | da8c190bdaba |
children | 4989c3d25945 |
comparison
equal
deleted
inserted
replaced
41:4d8e7a81b3a0 | 42:41ccba1aba45 |
---|---|
32 static void *ngx_event_create_conf(ngx_cycle_t *cycle); | 32 static void *ngx_event_create_conf(ngx_cycle_t *cycle); |
33 static char *ngx_event_init_conf(ngx_cycle_t *cycle, void *conf); | 33 static char *ngx_event_init_conf(ngx_cycle_t *cycle, void *conf); |
34 static char *ngx_accept_mutex_check(ngx_conf_t *cf, void *post, void *data); | 34 static char *ngx_accept_mutex_check(ngx_conf_t *cf, void *post, void *data); |
35 | 35 |
36 | 36 |
37 static ngx_uint_t ngx_event_max_module; | 37 static ngx_uint_t ngx_event_max_module; |
38 | 38 |
39 ngx_uint_t ngx_event_flags; | 39 ngx_uint_t ngx_event_flags; |
40 ngx_event_actions_t ngx_event_actions; | 40 ngx_event_actions_t ngx_event_actions; |
41 | 41 |
42 | 42 |
43 ngx_atomic_t connection_counter; | 43 ngx_atomic_t connection_counter; |
44 ngx_atomic_t *ngx_connection_counter = &connection_counter; | 44 ngx_atomic_t *ngx_connection_counter = &connection_counter; |
45 | 45 |
46 | 46 |
47 ngx_atomic_t *ngx_accept_mutex_ptr; | 47 ngx_atomic_t *ngx_accept_mutex_ptr; |
48 ngx_atomic_t *ngx_accept_mutex; | 48 ngx_atomic_t *ngx_accept_mutex; |
49 ngx_uint_t ngx_accept_mutex_held; | 49 ngx_uint_t ngx_accept_mutex_held; |
50 ngx_msec_t ngx_accept_mutex_delay; | 50 ngx_msec_t ngx_accept_mutex_delay; |
51 ngx_int_t ngx_accept_disabled; | 51 ngx_int_t ngx_accept_disabled; |
52 | 52 |
53 | 53 |
54 #if (NGX_STAT_STUB) | 54 #if (NGX_STAT_STUB) |
55 | 55 |
56 ngx_atomic_t ngx_stat_accepted0; | 56 ngx_atomic_t ngx_stat_accepted0; |