Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
static inline void set_current_thread(struct thread *t)
41
{
42
assert(boot_cpu());
43
active_thread = t;
44
}
45
46
static inline struct thread *current_thread(void)
47
{
Callers
2
schedule
Function · 0.85
threads_initialize
Function · 0.85
Calls
1
boot_cpu
Function · 0.50
Tested by
no test coverage detected