Re: scheduler_start: move static timeout structs into callback functions

2023-09-17 Thread Claudio Jeker
On Sat, Sep 16, 2023 at 11:31:45AM -0500, Scott Cheloha wrote: > The schedcpu() and loadavg() timeout structures are already hidden > from the global namespace. We can further simplify scheduler_start() > by moving the structures into the callback functions and statically > initializing them with

scheduler_start: move static timeout structs into callback functions

2023-09-16 Thread Scott Cheloha
The schedcpu() and loadavg() timeout structures are already hidden from the global namespace. We can further simplify scheduler_start() by moving the structures into the callback functions and statically initializing them with TIMEOUT_INITIALIZER(9). ok? Index: sched_bsd.c