new makefile rule to replace standard mutexes and debug deadlocks

This commit is contained in:
evilsocket 2018-01-29 11:33:40 +01:00
parent e216cdde48
commit 646c5d14c7

View file

@ -39,3 +39,10 @@ bcast_ping:
release:
@./new_release.sh
deadlock_detect_build:
@go get github.com/sasha-s/go-deadlock/...
@find . -name "*.go" | xargs sed -i "s/sync.Mutex/deadlock.Mutex/"
@goimports -w .
@git status