Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for schedAffinity (0.09 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/affinity_linux.go

    // If pid is 0 the calling thread is used.
    func SchedGetaffinity(pid int, set *CPUSet) error {
    	return schedAffinity(SYS_SCHED_GETAFFINITY, pid, set)
    }
    
    // SchedSetaffinity sets the CPU affinity mask of the thread specified by pid.
    // If pid is 0 the calling thread is used.
    func SchedSetaffinity(pid int, set *CPUSet) error {
    	return schedAffinity(SYS_SCHED_SETAFFINITY, pid, set)
    }
    
    // Zero clears the set s, so that it contains no CPUs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 21:26:10 UTC 2020
    - 1.9K bytes
    - Viewed (0)
Back to top