Versions in this module Expand all Collapse all v1 v1.2.0 Oct 30, 2025 v1.0.0 Sep 7, 2025 Changes in this version + var ErrUnlockFromAnotherGoroutine = errors.New("unlock from non-owner goroutine") + var ErrUnlockOfUnlockedMutex = errors.New("unlock of unlocked reentrant mutex") + var ErrUnlockWithNegativeCount = errors.New("unlock with negative count") + type ReentrantMutex struct + func NewReentrantMutex() *ReentrantMutex + func (rm *ReentrantMutex) Lock() + func (rm *ReentrantMutex) Unlock()