diff options
author | Valentin Bartenev <vbart@nginx.com> | 2015-03-14 17:37:07 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2015-03-14 17:37:07 +0300 |
commit | 305fc021db799c87d751f0f1f5e99afee7bb2b3b (patch) | |
tree | 8c3cf7a86f08ede19803a9f9beecb33cc0d9ebb3 /src/core/ngx_core.h | |
parent | 08e05a40422300a25e3b4e5b915592d7b2c41592 (diff) | |
download | nginx-305fc021db799c87d751f0f1f5e99afee7bb2b3b.tar.gz nginx-305fc021db799c87d751f0f1f5e99afee7bb2b3b.zip |
Thread pools implementation.
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r-- | src/core/ngx_core.h | 4 |
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); |