Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ gettid
Function
gettid
src/thread/id.rs:59–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
57
#[inline]
58
#[must_use]
59
pub fn gettid() -> Pid {
60
backend::thread::syscalls::gettid()
61
}
62
63
/// `setuid(uid)`—Sets the effective user ID of the calling thread.
64
///
Callers
1
test_core_scheduling_cookie
Function · 0.50
Calls
no outgoing calls
Tested by
1
test_core_scheduling_cookie
Function · 0.40