Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkHeap (0.15 sec)

  1. src/runtime/time.go

    			return
    		}
    	}
    }
    
    // timeSleepUntil returns the time when the next timer should fire. Returns
    // maxWhen if there are no timers.
    // This is only called by sysmon and checkdead.
    func timeSleepUntil() int64 {
    	next := int64(maxWhen)
    
    	// Prevent allp slice changes. This is like retake.
    	lock(&allpLock)
    	for _, pp := range allp {
    		if pp == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    	pollUntil atomic.Int64 // time to which current poll is sleeping
    
    	lock mutex
    
    	// When increasing nmidle, nmidlelocked, nmsys, or nmfreed, be
    	// sure to call checkdead().
    
    	midle        muintptr // idle m's waiting for work
    	nmidle       int32    // number of idle m's waiting for work
    	nmidlelocked int32    // number of locked m's waiting for work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top