diff options
Diffstat (limited to '')
| -rw-r--r-- | src/event/ngx_event.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index 530c9486c..e9520b667 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -74,10 +74,6 @@ struct ngx_event_s { /* the pending eof reported by kqueue, epoll or in aio chain operation */ unsigned pending_eof:1; -#if !(NGX_THREADS) - unsigned posted_ready:1; -#endif - #if (NGX_WIN32) /* setsockopt(SO_UPDATE_ACCEPT_CONTEXT) was successful */ unsigned accept_context_updated:1; @@ -135,30 +131,6 @@ struct ngx_event_s { unsigned channel:1; unsigned resolver:1; -#if (NGX_THREADS) - - unsigned locked:1; - - unsigned posted_ready:1; - unsigned posted_timedout:1; - unsigned posted_eof:1; - -#if (NGX_HAVE_KQUEUE) - /* the pending errno reported by kqueue */ - int posted_errno; -#endif - -#if (NGX_HAVE_KQUEUE) || (NGX_HAVE_IOCP) - int posted_available; -#else - unsigned posted_available:1; -#endif - - ngx_atomic_t *lock; - ngx_atomic_t *own_lock; - -#endif - /* the links of the posted queue */ ngx_event_t *next; ngx_event_t **prev; @@ -519,7 +491,6 @@ extern ngx_atomic_t *ngx_stat_waiting; #define NGX_UPDATE_TIME 1 #define NGX_POST_EVENTS 2 -#define NGX_POST_THREAD_EVENTS 4 extern sig_atomic_t ngx_event_timer_alarm; |
