- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for goBlockReasons (0.12 sec)
-
src/runtime/trace.go
// Fast mappings from enumerations to string IDs that are prepopulated // in the trace. markWorkerLabels [2][len(gcMarkWorkerModeStrings)]traceArg goStopReasons [2][len(traceGoStopReasonStrings)]traceArg goBlockReasons [2][len(traceBlockReasonStrings)]traceArg // enabled indicates whether tracing is enabled, but it is only an optimization, // NOT the source of truth on whether tracing is enabled. Tracing is only truly
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
src/runtime/traceruntime.go
// that we have both, and waitReason is way more descriptive. func (tl traceLocker) GoPark(reason traceBlockReason, skip int) { tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvGoBlock, traceArg(trace.goBlockReasons[tl.gen%2][reason]), tl.stack(skip)) } // GoUnpark emits a GoUnblock event. func (tl traceLocker) GoUnpark(gp *g, skip int) { // Emit a GoWaiting status if necessary for the unblocked goroutine.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0)