Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GoPreempt (0.1 sec)

  1. src/runtime/traceruntime.go

    }
    
    // GoSched emits a GoStop event with a GoSched reason.
    func (tl traceLocker) GoSched() {
    	tl.GoStop(traceGoStopGoSched)
    }
    
    // GoPreempt emits a GoStop event with a GoPreempted reason.
    func (tl traceLocker) GoPreempt() {
    	tl.GoStop(traceGoStopPreempted)
    }
    
    // GoStop emits a GoStop event with the provided reason.
    func (tl traceLocker) GoStop(reason traceGoStopReason) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. src/internal/trace/internal/oldtrace/parser.go

    	EvGoEnd:             {"GoEnd", 5, false, []string{}, nil},
    	EvGoStop:            {"GoStop", 5, true, []string{}, nil},
    	EvGoSched:           {"GoSched", 5, true, []string{}, nil},
    	EvGoPreempt:         {"GoPreempt", 5, true, []string{}, nil},
    	EvGoSleep:           {"GoSleep", 5, true, []string{}, nil},
    	EvGoBlock:           {"GoBlock", 5, true, []string{}, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  3. 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