mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-05-22 10:15:43 +02:00
5928e851dd
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>
22 lines
348 B
Go
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
|
|
}
|