- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for acquireStatus (0.14 sec)
-
src/runtime/tracestatus.go
// GoStatus and GoCreate events to omit a sequence number (implicitly 0). seq [2]uint64 } // acquireStatus acquires the right to emit a Status event for the scheduling resource. func (r *traceSchedResourceState) acquireStatus(gen uintptr) bool { if !r.statusTraced[gen%3].CompareAndSwap(0, 1) { return false } r.readyNextGen(gen) return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 7.2K bytes - Viewed (0) -
src/runtime/traceevent.go
w := tl.writer() if pp := tl.mp.p.ptr(); pp != nil && !pp.trace.statusWasTraced(tl.gen) && pp.trace.acquireStatus(tl.gen) { w = w.writeProcStatus(uint64(pp.id), procStatus, pp.trace.inSweep) } if gp := tl.mp.curg; gp != nil && !gp.trace.statusWasTraced(tl.gen) && gp.trace.acquireStatus(tl.gen) { w = w.writeGoStatus(uint64(gp.goid), int64(tl.mp.procid), goStatus, gp.inMarkAssist, 0 /* no stack */) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0)