MCPcopy Create free account
hub / github.com/F-Stack/f-stack / synch_setup

Function synch_setup

freebsd/kern/kern_synch.c:632–639  ·  view source on GitHub ↗

ARGSUSED */

Source from the content-addressed store, hash-verified

630
631/* ARGSUSED */
632static void
633synch_setup(void *dummy)
634{
635 callout_init(&loadav_callout, 1);
636
637 /* Kick off timeout driven events by calling first time. */
638 loadav(NULL);
639}
640
641int
642should_yield(void)

Callers

nothing calls this directly

Calls 2

loadavFunction · 0.85
callout_initFunction · 0.70

Tested by

no test coverage detected