Closed ly20119 closed 11 months ago
From Golang 1.18,TryLock() is supported in sync.Mutex and sync.RWMutex, does the deadlock package have plans to support TryLock?
TryLock()
sync.Mutex
sync.RWMutex
deadlock
Sure, this sounds great. I am happy to accept a pull request :) Or I will do it at some point.
From Golang 1.18,
TryLock()
is supported insync.Mutex
andsync.RWMutex
, does thedeadlock
package have plans to support TryLock?