Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ set
Method
set
src/thread/sched.rs:46–48 ·
view source on GitHub ↗
(&mut self, field: usize)
Source
from the content-addressed store, hash-verified
44
/// `field` is the CPU id to add.
45
#[inline]
46
pub fn set(&mut self, field: usize) {
47
backend::thread::cpu_set::CPU_SET(field, &mut self.cpu_set)
48
}
49
50
/// Remove a CPU from `CpuSet`.
51
///
Callers
2
reaper_kill
Function · 0.80
test_reboot
Function · 0.80
Calls
1
CPU_SET
Function · 0.50
Tested by
1
test_reboot
Function · 0.64