MCPcopy Create free account
hub / github.com/YatSenOS/YatSenOS-Tutorial-Volume-1 / first_thread

Function first_thread

lab8/src/6/src/kernel/setup.cpp:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void first_thread(void *arg)
76{
77
78 printf("start process\n");
79 programManager.executeProcess((const char *)first_process, 1);
80 programManager.executeThread(second_thread, nullptr, "second", 1);
81 asm_halt();
82}
83
84extern "C" void setup_kernel()
85{

Callers

nothing calls this directly

Calls 3

printfFunction · 0.70
executeProcessMethod · 0.45
executeThreadMethod · 0.45

Tested by

no test coverage detected