Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Simple-XX/SimpleKernel
/ sys_yield
Function
sys_yield
src/syscall.cpp:107–110 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
105
}
106
107
[[nodiscard]] auto sys_yield() -> int {
108
TaskManagerSingleton::instance().Schedule();
109
return 0;
110
}
111
112
[[nodiscard]] auto sys_sleep(uint64_t ms) -> int {
113
TaskManagerSingleton::instance().Sleep(ms);
Callers
6
syscall_dispatcher
Function · 0.85
yield_basic_work
Function · 0.85
yield_task_a
Function · 0.85
yield_task_b
Function · 0.85
imbalance_worker
Function · 0.85
affinity_pinned_worker
Function · 0.85
Calls
1
Schedule
Method · 0.80
Tested by
5
yield_basic_work
Function · 0.68
yield_task_a
Function · 0.68
yield_task_b
Function · 0.68
imbalance_worker
Function · 0.68
affinity_pinned_worker
Function · 0.68