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

Function set_current_thread

src/lib/thread.c:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40static inline void set_current_thread(struct thread *t)
41{
42 assert(boot_cpu());
43 active_thread = t;
44}
45
46static inline struct thread *current_thread(void)
47{

Callers 2

scheduleFunction · 0.85
threads_initializeFunction · 0.85

Calls 1

boot_cpuFunction · 0.50

Tested by

no test coverage detected