mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 23:35:07 -05:00
sched: make sure scheduler parameter change handler is first
This is needed to allow other handlers to add new timers.
This commit is contained in:
8
local.c
8
local.c
@@ -252,6 +252,14 @@ void LCL_RemoveParameterChangeHandler(LCL_ParameterChangeHandler handler, void *
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
int
|
||||
LCL_IsFirstParameterChangeHandler(LCL_ParameterChangeHandler handler)
|
||||
{
|
||||
return change_list.next->handler == handler;
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
static void
|
||||
invoke_parameter_change_handlers(struct timeval *raw, struct timeval *cooked,
|
||||
double dfreq, double doffset,
|
||||
|
||||
Reference in New Issue
Block a user