A brief file description. More...
Go to the source code of this file.
Typedefs | |
typedef void(* | sig_callback_fptr )(int signo) |
Functions | |
int | register_signal_callback (sig_callback_fptr f) |
void | init_signals (bool do_stackdump=true) |
void | init_signals2 () |
void | init_daemon_signals () |
Variables | |
int | exited_children |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file signals.h.
typedef void(* sig_callback_fptr)(int signo) |
void init_daemon_signals | ( | ) |
Definition at line 406 of file signals.cc.
References child_signal_handler(), and ink_assert.
void init_signals | ( | bool | do_stackdump = true |
) |
Definition at line 325 of file signals.cc.
References ink_thread_create(), ink_thread_sigsetmask(), interrupt_handler(), set_signal(), and signal_handler().
Referenced by init_system().
void init_signals2 | ( | ) |
Definition at line 395 of file signals.cc.
References ET_CALL, eventProcessor, HRTIME_MSECOND, init_tracker(), RecData::rec_int, REC_RegisterConfigUpdateFunc, RECD_INT, and EventProcessor::schedule_every().
Referenced by main().
int register_signal_callback | ( | sig_callback_fptr | f | ) |
int exited_children |
Definition at line 49 of file signals.cc.
Referenced by child_signal_handler().