tiny.simd.setThreadAffinity
Defined in tiny.simd.
Source
Source: lib/simd/src/topology/native.zig:69
zig
pub fn setThreadAffinity(lps: *const topology.LogicalProcessorSet) bool { if (comptime builtin.target.os.tag == .linux) { return linux.setThreadAffinity(lps); } else if (comptime builtin.target.os.tag == .windows) { return windows.setThreadAffinity(lps); } else if (comptime builtin.target.os.tag == .freebsd) { return freebsd.setThreadAffinity(lps); } else { return false; }}Source: lib/simd/src/root.zig:97
zig
pub const setThreadAffinity = topology.setThreadAffinity;Also reachable as
Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |