sasha-s / go-deadlock

Online deadlock detection in go (golang)
Apache License 2.0
1.03k stars 75 forks source link

Have you considered supporting TryLock? #28

Closed ly20119 closed 10 months ago

ly20119 commented 1 year ago

From Golang 1.18,TryLock() is supported in sync.Mutex and sync.RWMutex, does the deadlock package have plans to support TryLock?

sasha-s commented 1 year ago

Sure, this sounds great. I am happy to accept a pull request :) Or I will do it at some point.