Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/proc.go

    	}
    	if trace.ok() {
    		// Trace the event before the transition. It may take a
    		// stack trace, but we won't own the stack after the
    		// transition anymore.
    		if preempted {
    			trace.GoPreempt()
    		} else {
    			trace.GoSched()
    		}
    	}
    	casgstatus(gp, _Grunning, _Grunnable)
    	if trace.ok() {
    		traceRelease(trace)
    	}
    
    	dropg()
    	lock(&sched.lock)
    	globrunqput(gp)
    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