MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / InsertThreadIntoQueue

Function InsertThreadIntoQueue

Kernel/src/arch/x86_64/scheduler.cpp:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 void Schedule(void*, regs64_t* r);
37
38 inline void InsertThreadIntoQueue(thread_t* thread){
39 GetCPULocal()->runQueue->add_back(thread);
40 }
41
42 inline void RemoveThreadFromQueue(thread_t* thread){
43 GetCPULocal()->runQueue->remove(thread);

Callers

nothing calls this directly

Calls 2

GetCPULocalFunction · 0.85
add_backMethod · 0.45

Tested by

no test coverage detected