Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ alloc_tid
Method
alloc_tid
os/src/task/process.rs:52–54 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
50
}
51
52
pub fn alloc_tid(&mut self) -> usize {
53
self.task_res_allocator.alloc()
54
}
55
56
pub fn dealloc_tid(&mut self, tid: usize) {
57
self.task_res_allocator.dealloc(tid)
Callers
nothing calls this directly
Calls
1
alloc
Method · 0.45
Tested by
no test coverage detected