Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for osRelax (0.15 sec)

  1. src/runtime/os_windows.go

    // versions osRelax is noop.
    // For Windows versions without high resolution timer, osRelax
    // adjusts the system-wide timer resolution. Go needs a
    // high resolution timer while running and there's little extra cost
    // if we're already using the CPU, but if all Ps are idle there's no
    // need to consume extra power to drive the high-res timer.
    func osRelax(relax bool) uint32 {
    	if haveHighResTimer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top