mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
Remove "a temporary hack, 'rndc timerpoke'"
In 2002, "a temporary hack, 'rndc timerpoke'" was added. It's time for it to go, so it was removed.
This commit is contained in:
parent
f4751a91f7
commit
8fbb42c49c
@ -278,9 +278,6 @@ named_control_docommand(isccc_sexpr_t *message, bool readonly,
|
|||||||
command_compare(command, NAMED_COMMAND_UNFREEZE))
|
command_compare(command, NAMED_COMMAND_UNFREEZE))
|
||||||
{
|
{
|
||||||
result = named_server_freeze(named_g_server, false, lex, text);
|
result = named_server_freeze(named_g_server, false, lex, text);
|
||||||
} else if (command_compare(command, NAMED_COMMAND_TIMERPOKE)) {
|
|
||||||
isc_timermgr_poke(named_g_timermgr);
|
|
||||||
result = ISC_R_SUCCESS;
|
|
||||||
} else if (command_compare(command, NAMED_COMMAND_TRACE)) {
|
} else if (command_compare(command, NAMED_COMMAND_TRACE)) {
|
||||||
result = named_server_setdebuglevel(named_g_server, lex);
|
result = named_server_setdebuglevel(named_g_server, lex);
|
||||||
} else if (command_compare(command, NAMED_COMMAND_TSIGDELETE)) {
|
} else if (command_compare(command, NAMED_COMMAND_TSIGDELETE)) {
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
#define NAMED_COMMAND_FREEZE "freeze"
|
#define NAMED_COMMAND_FREEZE "freeze"
|
||||||
#define NAMED_COMMAND_UNFREEZE "unfreeze"
|
#define NAMED_COMMAND_UNFREEZE "unfreeze"
|
||||||
#define NAMED_COMMAND_THAW "thaw"
|
#define NAMED_COMMAND_THAW "thaw"
|
||||||
#define NAMED_COMMAND_TIMERPOKE "timerpoke"
|
|
||||||
#define NAMED_COMMAND_RECURSING "recursing"
|
#define NAMED_COMMAND_RECURSING "recursing"
|
||||||
#define NAMED_COMMAND_NULL "null"
|
#define NAMED_COMMAND_NULL "null"
|
||||||
#define NAMED_COMMAND_NOTIFY "notify"
|
#define NAMED_COMMAND_NOTIFY "notify"
|
||||||
|
@ -252,7 +252,4 @@ isc_timer_gettype(isc_timer_t *timer);
|
|||||||
*\li 'timer' to be a valid timer.
|
*\li 'timer' to be a valid timer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
|
||||||
isc_timermgr_poke(isc_timermgr_t *m);
|
|
||||||
|
|
||||||
ISC_LANG_ENDDECLS
|
ISC_LANG_ENDDECLS
|
||||||
|
@ -92,9 +92,6 @@ struct isc_timermgr {
|
|||||||
isc_heap_t *heap;
|
isc_heap_t *heap;
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
|
||||||
isc_timermgr_poke(isc_timermgr_t *manager);
|
|
||||||
|
|
||||||
static inline isc_result_t
|
static inline isc_result_t
|
||||||
schedule(isc_timer_t *timer, isc_time_t *now, bool signal_ok) {
|
schedule(isc_timer_t *timer, isc_time_t *now, bool signal_ok) {
|
||||||
isc_timermgr_t *manager;
|
isc_timermgr_t *manager;
|
||||||
@ -629,13 +626,6 @@ isc__timermgr_create(isc_mem_t *mctx, isc_timermgr_t **managerp) {
|
|||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
isc_timermgr_poke(isc_timermgr_t *manager) {
|
|
||||||
REQUIRE(VALID_MANAGER(manager));
|
|
||||||
|
|
||||||
SIGNAL(&manager->wakeup);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
isc__timermgr_destroy(isc_timermgr_t **managerp) {
|
isc__timermgr_destroy(isc_timermgr_t **managerp) {
|
||||||
isc_timermgr_t *manager;
|
isc_timermgr_t *manager;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user