Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ gettid
Function
gettid
user/src/task.rs:70–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
68
sys_thread_create(entry, arg)
69
}
70
pub fn gettid() -> isize {
71
sys_gettid()
72
}
73
pub fn waittid(tid: usize) -> isize {
74
loop {
75
match sys_waittid(tid) {
Callers
nothing calls this directly
Calls
1
sys_gettid
Function · 0.70
Tested by
no test coverage detected