Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _Pgcstop (0.08 sec)

  1. src/runtime/proc.go

    	preemptall()
    	// stop current P
    	gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
    	gp.m.p.ptr().gcStopTime = start
    	sched.stopwait--
    	// try to retake all P's in Psyscall status
    	trace = traceAcquire()
    	for _, pp := range allp {
    		s := pp.status
    		if s == _Psyscall && atomic.Cas(&pp.status, s, _Pgcstop) {
    			if trace.ok() {
    				trace.ProcSteal(pp, false)
    			}
    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