Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for controllerCooldown (0.12 sec)

  1. src/runtime/mgcscavenge.go

    	// Stop here if we're cooling down from the controller.
    	if s.controllerCooldown > 0 {
    		// worked and slept aren't exact measures of time, but it's OK to be a bit
    		// sloppy here. We're just hoping we're avoiding some transient bad behavior.
    		t := slept + int64(worked)
    		if t > s.controllerCooldown {
    			s.controllerCooldown = 0
    		} else {
    			s.controllerCooldown -= t
    		}
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top