Mercurial > hg > nginx
comparison src/core/ngx_cycle.h @ 6110:16c51e80128c
Removed unused thread-local-storage code.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 26 Mar 2015 14:15:15 +0300 |
parents | 79ddb0bdb273 |
children | 537259db5af4 |
comparison
equal
deleted
inserted
replaced
6109:d588dda5ec31 | 6110:16c51e80128c |
---|---|
110 #endif | 110 #endif |
111 | 111 |
112 } ngx_core_conf_t; | 112 } ngx_core_conf_t; |
113 | 113 |
114 | 114 |
115 #if (NGX_OLD_THREADS) | |
116 | |
117 typedef struct { | |
118 ngx_pool_t *pool; /* pcre's malloc() pool */ | |
119 } ngx_core_tls_t; | |
120 | |
121 #endif | |
122 | |
123 | |
124 #define ngx_is_init_cycle(cycle) (cycle->conf_ctx == NULL) | 115 #define ngx_is_init_cycle(cycle) (cycle->conf_ctx == NULL) |
125 | 116 |
126 | 117 |
127 ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle); | 118 ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle); |
128 ngx_int_t ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log); | 119 ngx_int_t ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log); |
139 extern volatile ngx_cycle_t *ngx_cycle; | 130 extern volatile ngx_cycle_t *ngx_cycle; |
140 extern ngx_array_t ngx_old_cycles; | 131 extern ngx_array_t ngx_old_cycles; |
141 extern ngx_module_t ngx_core_module; | 132 extern ngx_module_t ngx_core_module; |
142 extern ngx_uint_t ngx_test_config; | 133 extern ngx_uint_t ngx_test_config; |
143 extern ngx_uint_t ngx_quiet_mode; | 134 extern ngx_uint_t ngx_quiet_mode; |
144 #if (NGX_OLD_THREADS) | |
145 extern ngx_tls_key_t ngx_core_tls_key; | |
146 #endif | |
147 | 135 |
148 | 136 |
149 #endif /* _NGX_CYCLE_H_INCLUDED_ */ | 137 #endif /* _NGX_CYCLE_H_INCLUDED_ */ |