comparison src/event/ngx_event.h @ 426:3f88935a02e8

nginx-0.0.10-2004-09-14-23:39:54 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 14 Sep 2004 19:39:54 +0000
parents fda5987b188d
children da8c5707af39
comparison
equal deleted inserted replaced
425:bd39260a1383 426:3f88935a02e8
431 extern ngx_uint_t ngx_accept_mutex_held; 431 extern ngx_uint_t ngx_accept_mutex_held;
432 extern ngx_msec_t ngx_accept_mutex_delay; 432 extern ngx_msec_t ngx_accept_mutex_delay;
433 extern ngx_int_t ngx_accept_disabled; 433 extern ngx_int_t ngx_accept_disabled;
434 434
435 435
436 #if (NGX_STAT_STUB)
437
438 extern ngx_atomic_t *ngx_stat_accepted;
439 extern ngx_atomic_t *ngx_stat_requests;
440 extern ngx_atomic_t *ngx_stat_active;
441 extern ngx_atomic_t *ngx_stat_reading;
442 extern ngx_atomic_t *ngx_stat_writing;
443
444 #endif
445
446
447
436 #define ngx_accept_mutex_unlock() \ 448 #define ngx_accept_mutex_unlock() \
437 if (ngx_accept_mutex_held) { \ 449 if (ngx_accept_mutex_held) { \
438 *ngx_accept_mutex = 0; \ 450 *ngx_accept_mutex = 0; \
439 } 451 }
440 452