Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/proc.go

    					if next-now < sleep {
    						sleep = next - now
    					}
    					shouldRelax := sleep >= osRelaxMinNS
    					if shouldRelax {
    						osRelax(true)
    					}
    					syscallWake = notetsleep(&sched.sysmonnote, sleep)
    					if shouldRelax {
    						osRelax(false)
    					}
    					lock(&sched.lock)
    					sched.sysmonwait.Store(false)
    					noteclear(&sched.sysmonnote)
    				}
    				if syscallWake {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top