Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runqempty (0.16 sec)

  1. src/runtime/proc.go

    		// Ms that may be preparing to drop their P.
    		sched.needspinning.Store(1)
    		return nil, now
    	}
    
    	return pp, now
    }
    
    // runqempty reports whether pp has no Gs on its local run queue.
    // It never returns true spuriously.
    func runqempty(pp *p) bool {
    	// Defend against a race where 1) pp has G1 in runqnext but runqhead == runqtail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top