Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ fetch
Method
fetch
os/src/task/manager.rs:21–23 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
19
self.ready_queue.push_back(task);
20
}
21
pub fn fetch(&mut self) -> Option<Arc<TaskControlBlock>> {
22
self.ready_queue.pop_front()
23
}
24
}
25
26
lazy_static! {
Callers
1
fetch_task
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected