diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-07-07 15:01:00 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-07 15:01:00 +0000 |
| commit | 2b97993c7a6525bf41c694414450943d39605757 (patch) | |
| tree | b3b3870575cd65e64ef59de5359bfdd3695bc77c /src/core/ngx_cycle.h | |
| parent | c78c41cefcf1e1fa8005f81b7c6cc0c857bcf46f (diff) | |
| download | nginx-2b97993c7a6525bf41c694414450943d39605757.tar.gz nginx-2b97993c7a6525bf41c694414450943d39605757.tar.bz2 | |
nginx-0.0.7-2004-07-07-19:01:00 import
Diffstat (limited to 'src/core/ngx_cycle.h')
| -rw-r--r-- | src/core/ngx_cycle.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h index 5708ce406..84521898c 100644 --- a/src/core/ngx_cycle.h +++ b/src/core/ngx_cycle.h @@ -49,6 +49,11 @@ typedef struct { } ngx_core_conf_t; +typedef struct { + ngx_pool_t *pool; /* pcre's malloc() pool */ +} ngx_core_tls_t; + + ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle); ngx_int_t ngx_create_pidfile(ngx_cycle_t *cycle, ngx_cycle_t *old_cycle); void ngx_delete_pidfile(ngx_cycle_t *cycle); @@ -60,6 +65,9 @@ extern volatile ngx_cycle_t *ngx_cycle; extern ngx_array_t ngx_old_cycles; extern ngx_module_t ngx_core_module; extern ngx_uint_t ngx_test_config; +#if (NGX_THREADS) +extern ngx_tls_key_t ngx_core_tls_key; +#endif #endif /* _NGX_CYCLE_H_INCLUDED_ */ |
