add deadlock mutex package

write to deadlock stderr after closing gocui

more deadlock checking
This commit is contained in:
Jesse Duffield 2022-08-07 09:44:50 +10:00
parent 7410acd1aa
commit 755ae0ef84
44 changed files with 1635 additions and 57 deletions

View file

@ -13,7 +13,7 @@ import (
type Buffer struct {
b bytes.Buffer
m sync.Mutex
m deadlock.Mutex
}
func (b *Buffer) Read(p []byte) (n int, err error) {