Mercurial > hg > nginx
comparison src/core/ngx_file.h @ 6022:1fdba317ee6d
Added support for offloading read() in thread pools.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Sat, 14 Mar 2015 17:37:25 +0300 |
parents | 3281de8142f5 |
children | 9fd738b85fad |
comparison
equal
deleted
inserted
replaced
6021:117c77b22db1 | 6022:1fdba317ee6d |
---|---|
20 | 20 |
21 off_t offset; | 21 off_t offset; |
22 off_t sys_offset; | 22 off_t sys_offset; |
23 | 23 |
24 ngx_log_t *log; | 24 ngx_log_t *log; |
25 | |
26 #if (NGX_THREADS) | |
27 ngx_int_t (*thread_handler)(ngx_thread_task_t *task, | |
28 ngx_file_t *file); | |
29 void *thread_ctx; | |
30 #endif | |
25 | 31 |
26 #if (NGX_HAVE_FILE_AIO) | 32 #if (NGX_HAVE_FILE_AIO) |
27 ngx_event_aio_t *aio; | 33 ngx_event_aio_t *aio; |
28 #endif | 34 #endif |
29 | 35 |