Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for incidlelocked (0.14 sec)

  1. src/runtime/proc.go

    	if !iscgo && cgoHasExtraM && extraMLength.Load() > 0 {
    		run0 = 1
    	}
    
    	run := mcount() - sched.nmidle - sched.nmidlelocked - sched.nmsys
    	if run > run0 {
    		return
    	}
    	if run < 0 {
    		print("runtime: checkdead: nmidle=", sched.nmidle, " nmidlelocked=", sched.nmidlelocked, " mcount=", mcount(), " nmsys=", sched.nmsys, "\n")
    		unlock(&sched.lock)
    		throw("checkdead: inconsistent counts")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    		qs.seatDemandIntegrator.Set(float64(qs.totSeatsInUse + qs.totSeatsWaiting))
    	}
    	return false, qs.isIdleLocked()
    }
    
    func (qs *queueSet) IsIdle() bool {
    	qs.lock.Lock()
    	defer qs.lock.Unlock()
    	return qs.isIdleLocked()
    }
    
    func (qs *queueSet) isIdleLocked() bool {
    	return qs.totRequestsWaiting == 0 && qs.totRequestsExecuting == 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
  3. 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
    	mnext        int64    // number of m's that have been created and next M ID
    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