Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2015-03-14 17:37:07 +0300
committerValentin Bartenev <vbart@nginx.com>2015-03-14 17:37:07 +0300
commit305fc021db799c87d751f0f1f5e99afee7bb2b3b (patch)
tree8c3cf7a86f08ede19803a9f9beecb33cc0d9ebb3 /src/core/ngx_core.h
parent08e05a40422300a25e3b4e5b915592d7b2c41592 (diff)
Thread pools implementation.
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r--src/core/ngx_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index aeea0c68b..bc1d43f98 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -22,6 +22,10 @@ typedef struct ngx_event_s ngx_event_t;
typedef struct ngx_event_aio_s ngx_event_aio_t;
typedef struct ngx_connection_s ngx_connection_t;
+#if (NGX_THREADS)
+typedef struct ngx_thread_task_s ngx_thread_task_t;
+#endif
+
typedef void (*ngx_event_handler_pt)(ngx_event_t *ev);
typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c);