go/src/runtime/lockrank_off.go

const staticLockRanking

type lockRankStruct

func lockInit(l *mutex, rank lockRank) {}

func getLockRank(l *mutex) lockRank {}

func lockWithRank(l *mutex, rank lockRank) {}

// This function may be called in nosplit context and thus must be nosplit.
//
//go:nosplit
func acquireLockRankAndM(rank lockRank) {}

func unlockWithRank(l *mutex) {}

// This function may be called in nosplit context and thus must be nosplit.
//
//go:nosplit
func releaseLockRankAndM(rank lockRank) {}

// This function may be called in nosplit context and thus must be nosplit.
//
//go:nosplit
func lockWithRankMayAcquire(l *mutex, rank lockRank) {}

//go:nosplit
func assertLockHeld(l *mutex) {}

//go:nosplit
func assertRankHeld(r lockRank) {}

//go:nosplit
func worldStopped() {}

//go:nosplit
func worldStarted() {}

//go:nosplit
func assertWorldStopped() {}

//go:nosplit
func assertWorldStoppedOrLockHeld(l *mutex) {}