Mercurial > hg > nginx
comparison src/event/ngx_event_timer.c @ 266:5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Feb 2004 20:57:12 +0000 |
parents | 1119faf4635a |
children | 7bb9562216ce |
comparison
equal
deleted
inserted
replaced
265:6468241715e6 | 266:5238e93961a1 |
---|---|
6 | 6 |
7 /* | 7 /* |
8 * TODO: in multithreaded enviroment all timer operations must be | 8 * TODO: in multithreaded enviroment all timer operations must be |
9 * protected by the single mutex | 9 * protected by the single mutex |
10 */ | 10 */ |
11 | |
12 #if (NGX_THREADS) | |
13 static ngx_mutex_t *ngx_event_timer_mutex; | |
14 #endif | |
11 | 15 |
12 | 16 |
13 ngx_rbtree_t *ngx_event_timer_rbtree; | 17 ngx_rbtree_t *ngx_event_timer_rbtree; |
14 ngx_rbtree_t ngx_event_timer_sentinel; | 18 ngx_rbtree_t ngx_event_timer_sentinel; |
15 | 19 |