MCPcopy Create free account
hub / github.com/coreboot/coreboot / idle_thread

Function idle_thread

src/lib/thread.c:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 * It's sole responsibility is to ensure progress is made by running the timer
104 * callbacks. */
105__noreturn static enum cb_err idle_thread(void *unused)
106{
107 /* This thread never voluntarily yields. */
108 thread_coop_disable();
109 while (1)
110 timers_run();
111}
112
113static void schedule(struct thread *t)
114{

Callers

nothing calls this directly

Calls 2

timers_runFunction · 0.85
thread_coop_disableFunction · 0.70

Tested by

no test coverage detected