Versions in this module Expand all Collapse all v1 v1.0.1 Jun 23, 2025 v1.0.0 Jun 6, 2025 Changes in this version + var Cond = sync.NewCond(&Mu) + var DefaultYieldDuration = 1 * time.Millisecond + var HighPriorityCount atomic.Int32 + var Mu sync.Mutex + var SpinWaitIterations = 1000 + func EnterHighPriority() + func ExitHighPriority() + func IsHighPriorityActive() bool + func MaybeYield() + func MaybeYieldFast() + func MaybeYieldWithContext(ctx context.Context) error + func SetDefaultYieldDuration(d time.Duration) + func SetSpinWaitIterations(n int) + func WaitIfActive() + func WaitIfActiveFast() + func WaitIfActiveWithContext(ctx context.Context) error