| 52 |
volatile int SYS_child_process_count = 0; |
volatile int SYS_child_process_count = 0; |
| 53 |
volatile int SYS_child_exit = 0; |
volatile int SYS_child_exit = 0; |
| 54 |
volatile int SYS_conf_reload = 0; |
volatile int SYS_conf_reload = 0; |
|
volatile int SYS_data_file_reload = 0; |
|
|
volatile int SYS_section_list_reload = 0; |
|
| 55 |
|
|
| 56 |
static const char *weekday[] = { |
static const char *weekday[] = { |
| 57 |
"天", "一", "二", "三", "四", "五", "六"}; |
"天", "一", "二", "三", "四", "五", "六"}; |
| 79 |
void sig_hup_handler(int i) |
void sig_hup_handler(int i) |
| 80 |
{ |
{ |
| 81 |
SYS_conf_reload = 1; |
SYS_conf_reload = 1; |
|
SYS_data_file_reload = 1; |
|
|
SYS_section_list_reload = 1; |
|
| 82 |
} |
} |
| 83 |
|
|
| 84 |
void sig_term_handler(int i) |
void sig_term_handler(int i) |