MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / GetStatus

Method GetStatus

src/task/task_control_block.cpp:88–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86} // namespace
87
88auto TaskControlBlock::GetStatus() const -> etl::fsm_state_id_t {
89 return fsm.GetStateId();
90}
91
92auto TaskControlBlock::JoinThreadGroup(TaskControlBlock* leader) -> void {
93 if (!leader || leader == this) {

Callers 15

WaitMethod · 0.45
AddTaskMethod · 0.45
ReapTaskMethod · 0.45
SleepMethod · 0.45
ExitMethod · 0.45
SendSignalMethod · 0.45
BlockMethod · 0.45
ScheduleMethod · 0.45
TickUpdateMethod · 0.45
WakeupMethod · 0.45
WakeupOneMethod · 0.45
test_exit_normalFunction · 0.45

Calls 1

GetStateIdMethod · 0.80

Tested by 4

test_exit_normalFunction · 0.36
test_exit_with_errorFunction · 0.36
test_orphan_exitFunction · 0.36
test_zombie_processFunction · 0.36