1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2026-05-22 10:15:43 +02:00
Files
lazygit/vendor/github.com/sasha-s/go-deadlock/mutex.go
T
dependabot[bot] 5928e851dd Bump github.com/sasha-s/go-deadlock from 0.3.6 to 0.3.9
Bumps [github.com/sasha-s/go-deadlock](https://github.com/sasha-s/go-deadlock) from 0.3.6 to 0.3.9.
- [Release notes](https://github.com/sasha-s/go-deadlock/releases)
- [Commits](https://github.com/sasha-s/go-deadlock/compare/v0.3.6...v0.3.9)

---
updated-dependencies:
- dependency-name: github.com/sasha-s/go-deadlock
  dependency-version: 0.3.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-01 09:24:57 +00:00

22 lines
348 B
Go

package deadlock
import "sync"
// MutexImpl defines the interface for mutex implementations
type MutexImpl interface {
Lock()
Unlock()
TryLock() bool
}
// RWMutexImpl defines the interface for rwmutex implementations
type RWMutexImpl interface {
Lock()
Unlock()
RLock()
RUnlock()
TryLock() bool
TryRLock() bool
RLocker() sync.Locker
}