Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 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. 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