comparison src/core/ngx_connection.h @ 6023:b550563ef96e

Added support for offloading Linux sendfile() in thread pools.
author Valentin Bartenev <vbart@nginx.com>
date Sat, 14 Mar 2015 17:37:30 +0300
parents 457ec43dd8d5
children c8acea7c7041
comparison
equal deleted inserted replaced
6022:1fdba317ee6d 6023:b550563ef96e
180 unsigned accept_context_updated:1; 180 unsigned accept_context_updated:1;
181 #endif 181 #endif
182 182
183 #if (NGX_HAVE_AIO_SENDFILE) 183 #if (NGX_HAVE_AIO_SENDFILE)
184 unsigned busy_count:2; 184 unsigned busy_count:2;
185 #endif
186
187 #if (NGX_THREADS)
188 ngx_thread_task_t *sendfile_task;
185 #endif 189 #endif
186 190
187 #if (NGX_OLD_THREADS) 191 #if (NGX_OLD_THREADS)
188 ngx_atomic_t lock; 192 ngx_atomic_t lock;
189 #endif 193 #endif