Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/proc.go

    		unlock(&sched.lock)
    		startIdle(qsize)
    		return
    	}
    
    	npidle := int(sched.npidle.Load())
    	var (
    		globq gQueue
    		n     int
    	)
    	for n = 0; n < npidle && !q.empty(); n++ {
    		g := q.pop()
    		globq.pushBack(g)
    	}
    	if n > 0 {
    		lock(&sched.lock)
    		globrunqputbatch(&globq, int32(n))
    		unlock(&sched.lock)
    		startIdle(n)
    		qsize -= n
    	}
    
    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/time/zoneinfo.go

    		s = ",M3.2.0,M11.1.0"
    	}
    	// The TZ definition does not mention ';' here but tzcode accepts it.
    	if s[0] != ',' && s[0] != ';' {
    		return "", 0, 0, 0, false, false
    	}
    	s = s[1:]
    
    	var startRule, endRule rule
    	startRule, s, ok = tzsetRule(s)
    	if !ok || len(s) == 0 || s[0] != ',' {
    		return "", 0, 0, 0, false, false
    	}
    	s = s[1:]
    	endRule, s, ok = tzsetRule(s)
    	if !ok || len(s) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top