summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-12-08 20:48:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-12-08 20:48:12 +0000
commit5f80078c675bc344d12a6a64d97ecafb64de224b (patch)
treee4ff5330121ef71ffe558ccaa9210218802ff537 /src/event/ngx_event.h
parent62260f2a158e27e5f6b1689e10dc25ea3c617473 (diff)
downloadnginx-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.h8
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;