Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SchedGetaffinity (0.31 sec)

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

    	if e != 0 {
    		return errnoErr(e)
    	}
    	return nil
    }
    
    // SchedGetaffinity gets the CPU affinity mask of the thread specified by pid.
    // 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.
    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