Mercurial > hg > nginx-quic
comparison src/event/ngx_event.h @ 208:0b67be7d4489
nginx-0.0.1-2003-12-08-23:48:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 08 Dec 2003 20:48:12 +0000 |
parents | 6e0fef527732 |
children | e1c815be05ae |
comparison
equal
deleted
inserted
replaced
207:6e0fef527732 | 208:0b67be7d4489 |
---|---|
34 ngx_log_t *log; | 34 ngx_log_t *log; |
35 | 35 |
36 /* | 36 /* |
37 * The inline of "ngx_rbtree_t rbtree;". | 37 * The inline of "ngx_rbtree_t rbtree;". |
38 * | 38 * |
39 * It allows to pack rbtree_color and variuos event bit flags into | 39 * It allows to pack the rbtree_color and the variuos event bit flags into |
40 * the single int. We also use "unsigned char" and then "usigned short" | 40 * the single "int". We also use "unsigned char" and then "usigned short" |
41 * because otherwise MSVC 6.0 uses an additional int for bit flags. | 41 * because otherwise MSVC 6.0 uses an additional "int" for the bit flags. |
42 * We use "char rbtree_color" instead of "unsigned int rbtree_color:1" | |
43 * because it preserves the bits order on the big endian platforms. | |
42 */ | 44 */ |
43 | 45 |
44 ngx_int_t rbtree_key; | 46 ngx_int_t rbtree_key; |
45 void *rbtree_left; | 47 void *rbtree_left; |
46 void *rbtree_right; | 48 void *rbtree_right; |