aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_file.h')
-rw-r--r--src/core/ngx_file.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h
index 3ea6c28c8..301b1918b 100644
--- a/src/core/ngx_file.h
+++ b/src/core/ngx_file.h
@@ -23,6 +23,12 @@ struct ngx_file_s {
ngx_log_t *log;
+#if (NGX_THREADS)
+ ngx_int_t (*thread_handler)(ngx_thread_task_t *task,
+ ngx_file_t *file);
+ void *thread_ctx;
+#endif
+
#if (NGX_HAVE_FILE_AIO)
ngx_event_aio_t *aio;
#endif