Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 493:975f62e77f02 release-0.1.21
nginx-0.1.21-RELEASE import
*) 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 <igor@sysoev.ru> |
---|---|
date | Tue, 22 Feb 2005 14:40:13 +0000 |
parents | 621229427cba |
children | fc9909c369b2 |
comparison
equal
deleted
inserted
replaced
492:a3fac9a5aa5b | 493:975f62e77f02 |
---|---|
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; |