Mercurial > hg > nginx-vendor-0-7
comparison src/core/ngx_rbtree.c @ 106:45f7329b4bd0 NGINX_0_3_0
nginx 0.3.0
*) Change: the 10-days live time limit of worker process was
eliminated. The limit was introduced because of millisecond timers
overflow.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 07 Oct 2005 00:00:00 +0400 |
parents | 41ccba1aba45 |
children | cf3d6edb3ad6 |
comparison
equal
deleted
inserted
replaced
105:531d62c2a28d | 106:45f7329b4bd0 |
---|---|
45 } | 45 } |
46 | 46 |
47 temp = *root; | 47 temp = *root; |
48 | 48 |
49 for ( ;; ) { | 49 for ( ;; ) { |
50 if (node->key < temp->key) { | 50 |
51 /* node->key < temp->key */ | |
52 | |
53 if ((ngx_rbtree_key_int_t) node->key - (ngx_rbtree_key_int_t) temp->key | |
54 < 0) | |
55 { | |
51 if (temp->left == sentinel) { | 56 if (temp->left == sentinel) { |
52 temp->left = node; | 57 temp->left = node; |
53 break; | 58 break; |
54 } | 59 } |
55 | 60 |