Mercurial > hg > nginx-quic
diff src/event/ngx_event.h @ 6145:0b8f6f75245d
Events: ngx_event_t size reduction by grouping bit fields.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 15 May 2015 17:15:33 +0300 |
parents | adba26ff70b5 |
children | 8f038068f4bc |
line wrap: on
line diff
--- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -68,6 +68,14 @@ struct ngx_event_s { unsigned posted:1; + unsigned closed:1; + + /* to test on worker exit */ + unsigned channel:1; + unsigned resolver:1; + + unsigned cancelable:1; + #if (NGX_WIN32) /* setsockopt(SO_UPDATE_ACCEPT_CONTEXT) was successful */ unsigned accept_context_updated:1; @@ -116,15 +124,6 @@ struct ngx_event_s { /* the posted queue */ ngx_queue_t queue; - unsigned closed:1; - - /* to test on worker exit */ - unsigned channel:1; - unsigned resolver:1; - - unsigned cancelable:1; - - #if 0 /* the threads support */