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

Function yield_task_b

tests/system_test/yield_test.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void yield_task_b(void* /*arg*/) {
42 for (int i = 0; i < 10; ++i) {
43 g_b_count++;
44 (void)sys_yield();
45 }
46 g_fairness_done.store(true);
47 sys_exit(0);
48}
49
50} // namespace
51

Callers

nothing calls this directly

Calls 2

sys_yieldFunction · 0.85
sys_exitFunction · 0.85

Tested by

no test coverage detected