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

Function first_thread

lab8/src/5/src/kernel/setup.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void first_thread(void *arg)
60{
61
62 printf("start process\n");
63 programManager.executeProcess((const char *)first_process, 1);
64 programManager.executeThread(second_thread, nullptr, "second", 1);
65 asm_halt();
66}
67
68extern "C" void setup_kernel()
69{

Callers

nothing calls this directly

Calls 3

printfFunction · 0.70
executeProcessMethod · 0.45
executeThreadMethod · 0.45

Tested by

no test coverage detected