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

Function flags_reporter_work

tests/system_test/clone_test.cpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void flags_reporter_work(void* /*arg*/) {
89 auto* current = TaskManagerSingleton::instance().GetCurrentTask();
90 g_flags_value.store(current->aux->clone_flags.value());
91 g_flags_done++;
92 sys_exit(0);
93}
94
95void noop_work(void* /*arg*/) { sys_exit(0); }
96

Callers

nothing calls this directly

Calls 2

sys_exitFunction · 0.85
GetCurrentTaskMethod · 0.80

Tested by

no test coverage detected