mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
update copyright notice
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: app.c,v 1.56 2008/01/04 23:46:55 tbox Exp $ */
|
||||
/* $Id: app.c,v 1.57 2008/01/18 23:46:58 tbox Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -87,13 +87,13 @@ static pthread_t main_thread;
|
||||
#ifndef HAVE_SIGWAIT
|
||||
static void
|
||||
exit_action(int arg) {
|
||||
UNUSED(arg);
|
||||
UNUSED(arg);
|
||||
want_shutdown = ISC_TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
reload_action(int arg) {
|
||||
UNUSED(arg);
|
||||
UNUSED(arg);
|
||||
want_reload = ISC_TRUE;
|
||||
}
|
||||
#endif
|
||||
@@ -339,7 +339,7 @@ evloop() {
|
||||
* We call isc__timermgr_dispatch() only when
|
||||
* necessary, in order to reduce overhead. If the
|
||||
* select() call indicates a timeout, we need the
|
||||
* dispatch. Even if not, if we set the 0-timeout
|
||||
* dispatch. Even if not, if we set the 0-timeout
|
||||
* for the select() call, we need to check the timer
|
||||
* events. In the 'readytasks' case, there may be no
|
||||
* timeout event actually, but there is no other way
|
||||
@@ -423,7 +423,7 @@ isc__nothread_signal_hack(isc_condition_t *cp) {
|
||||
signalled = ISC_TRUE;
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
#endif /* ISC_PLATFORM_USETHREADS */
|
||||
|
||||
isc_result_t
|
||||
@@ -676,7 +676,7 @@ isc_app_unblock(void) {
|
||||
REQUIRE(blockedthread == pthread_self());
|
||||
|
||||
RUNTIME_CHECK(sigemptyset(&sset) == 0 &&
|
||||
sigaddset(&sset, SIGINT) == 0 &&
|
||||
sigaddset(&sset, SIGINT) == 0 &&
|
||||
sigaddset(&sset, SIGTERM) == 0);
|
||||
RUNTIME_CHECK(pthread_sigmask(SIG_BLOCK, &sset, NULL) == 0);
|
||||
#endif /* ISC_PLATFORM_USETHREADS */
|
||||
|
Reference in New Issue
Block a user