diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-12-08 20:48:12 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-08 20:48:12 +0000 |
| commit | 5f80078c675bc344d12a6a64d97ecafb64de224b (patch) | |
| tree | e4ff5330121ef71ffe558ccaa9210218802ff537 /src/event/ngx_event.h | |
| parent | 62260f2a158e27e5f6b1689e10dc25ea3c617473 (diff) | |
| download | nginx-5f80078c675bc344d12a6a64d97ecafb64de224b.tar.gz nginx-5f80078c675bc344d12a6a64d97ecafb64de224b.tar.bz2 | |
nginx-0.0.1-2003-12-08-23:48:12 import
Diffstat (limited to 'src/event/ngx_event.h')
| -rw-r--r-- | src/event/ngx_event.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index c2170250d..ee7ab0f43 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -36,9 +36,11 @@ struct ngx_event_s { /* * The inline of "ngx_rbtree_t rbtree;". * - * It allows to pack rbtree_color and variuos event bit flags into - * the single int. We also use "unsigned char" and then "usigned short" - * because otherwise MSVC 6.0 uses an additional int for bit flags. + * It allows to pack the rbtree_color and the variuos event bit flags into + * the single "int". We also use "unsigned char" and then "usigned short" + * because otherwise MSVC 6.0 uses an additional "int" for the bit flags. + * We use "char rbtree_color" instead of "unsigned int rbtree_color:1" + * because it preserves the bits order on the big endian platforms. */ ngx_int_t rbtree_key; |
