Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ clear
Method
clear
src/thread/sched.rs:67–69 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
65
/// Zeroes the `CpuSet`.
66
#[inline]
67
pub fn clear(&mut self) {
68
backend::thread::cpu_set::CPU_ZERO(&mut self.cpu_set)
69
}
70
}
71
72
impl Default for CpuSet {
Callers
9
test_spare_capacity
Function · 0.45
ptsname
Function · 0.45
with_recv_msghdr
Function · 0.45
ptsname
Function · 0.45
with_recv_msghdr
Function · 0.45
_ttyname
Function · 0.45
_getcwd
Function · 0.45
_readlink
Function · 0.45
_readlinkat
Function · 0.45
Calls
1
CPU_ZERO
Function · 0.50
Tested by
1
test_spare_capacity
Function · 0.36