Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for incnwait (0.34 sec)

  1. src/runtime/mgc.go

    			atomic.Xaddint64(&pp.gcFractionalMarkTime, duration)
    		}
    
    		// Was this the last worker and did we run out
    		// of work?
    		incnwait := atomic.Xadd(&work.nwait, +1)
    		if incnwait > work.nproc {
    			println("runtime: p.gcMarkWorkerMode=", pp.gcMarkWorkerMode,
    				"work.nwait=", incnwait, "work.nproc=", work.nproc)
    			throw("work.nwait > work.nproc")
    		}
    
    		// We'll releasem after this point and thus this P may run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top