- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for lockPartialOrder (0.53 sec)
-
src/runtime/lockrank.go
// Locks with lower rank must be taken before locks with higher rank, // in addition to satisfying the partial order in lockPartialOrder. // A few ranks allow self-cycles, which are specified in lockPartialOrder. const ( lockRankUnknown lockRank = iota lockRankSysmon lockRankScavenge lockRankForcegc lockRankDefer lockRankSweepWaiters lockRankAssistQueue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 19.9K bytes - Viewed (0) -
src/runtime/mklockrank.go
// Locks with lower rank must be taken before locks with higher rank, // in addition to satisfying the partial order in lockPartialOrder. // A few ranks allow self-cycles, which are specified in lockPartialOrder. const ( lockRankUnknown lockRank = iota `) for _, rank := range topo { if isPseudo(rank) { fmt.Fprintf(w, "\t// %s\n", rank) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0) -
src/runtime/lockrank_on.go
} else { // We've now verified the total lock ranking, but we // also enforce the partial ordering specified by // lockPartialOrder as well. Two locks with the same rank // can only be acquired at the same time if explicitly // listed in the lockPartialOrder table. list := lockPartialOrder[rank] for _, entry := range list { if entry == prevRank { rankOK = true break } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 10.6K bytes - Viewed (0) -
src/runtime/export_test.go
const CrashStackImplemented = crashStackImplemented const TracebackInnerFrames = tracebackInnerFrames const TracebackOuterFrames = tracebackOuterFrames var MapKeys = keys var MapValues = values var LockPartialOrder = lockPartialOrder type TimeTimer = timeTimer type LockRank lockRank func (l LockRank) String() string { return lockRank(l).String() } const PreemptMSupported = preemptMSupported
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0)