Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for raceAcquire (0.2 sec)

  1. src/runtime/proc.go

    		// might call into the tracer, and the tracer is non-reentrant.
    		trace := traceAcquire()
    		if s == _Psyscall && p2.runSafePointFn == 1 && atomic.Cas(&p2.status, s, _Pidle) {
    			if trace.ok() {
    				// It's important that we traceRelease before we call handoffp, which may also traceAcquire.
    				trace.ProcSteal(p2, false)
    				traceRelease(trace)
    			}
    			p2.syscalltick++
    			handoffp(p2)
    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