Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ruddle/Fomos
/ yield_once
Function
yield_once
bootloader/kernel/src/task/executor.rs:181–184 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
179
}
180
181
pub async fn yield_once() {
182
let timer = YieldOnce(false);
183
timer.await;
184
}
185
pub struct YieldOnce(bool);
186
impl futures::future::Future for YieldOnce {
187
type Output = ();
Callers
3
kernel_main
Function · 0.85
drive
Function · 0.85
drive
Function · 0.85
Calls
1
YieldOnce
Class · 0.85
Tested by
no test coverage detected