diff options
Diffstat (limited to 'src/event/ngx_event.h')
-rw-r--r-- | src/event/ngx_event.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index c3cc9079e..bc8cae52e 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -63,7 +63,9 @@ struct ngx_event_s { #endif unsigned write:1; - unsigned first:1; + unsigned instance:1; /* used to detect stale events in kqueue, + rt signals and epoll */ + unsigned active:1; unsigned ready:1; unsigned timedout:1; @@ -114,6 +116,7 @@ struct ngx_event_s { #endif }; + typedef enum { NGX_SELECT_EVENT_N = 0, #if (HAVE_POLL) |