comparison src/core/ngx_cycle.h @ 381:02a511569afb

nginx-0.0.7-2004-07-07-19:01:00 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 07 Jul 2004 15:01:00 +0000
parents d0451e402e27
children 388a842cbbe1
comparison
equal deleted inserted replaced
380:5ce6561246a5 381:02a511569afb
47 #endif 47 #endif
48 48
49 } ngx_core_conf_t; 49 } ngx_core_conf_t;
50 50
51 51
52 typedef struct {
53 ngx_pool_t *pool; /* pcre's malloc() pool */
54 } ngx_core_tls_t;
55
56
52 ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle); 57 ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle);
53 ngx_int_t ngx_create_pidfile(ngx_cycle_t *cycle, ngx_cycle_t *old_cycle); 58 ngx_int_t ngx_create_pidfile(ngx_cycle_t *cycle, ngx_cycle_t *old_cycle);
54 void ngx_delete_pidfile(ngx_cycle_t *cycle); 59 void ngx_delete_pidfile(ngx_cycle_t *cycle);
55 void ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user); 60 void ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user);
56 ngx_pid_t ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv); 61 ngx_pid_t ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv);
58 63
59 extern volatile ngx_cycle_t *ngx_cycle; 64 extern volatile ngx_cycle_t *ngx_cycle;
60 extern ngx_array_t ngx_old_cycles; 65 extern ngx_array_t ngx_old_cycles;
61 extern ngx_module_t ngx_core_module; 66 extern ngx_module_t ngx_core_module;
62 extern ngx_uint_t ngx_test_config; 67 extern ngx_uint_t ngx_test_config;
68 #if (NGX_THREADS)
69 extern ngx_tls_key_t ngx_core_tls_key;
70 #endif
63 71
64 72
65 #endif /* _NGX_CYCLE_H_INCLUDED_ */ 73 #endif /* _NGX_CYCLE_H_INCLUDED_ */