You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you lock the same mutex twice from two different LockFor impls you can create a deadlock:
Therefore I propose that a derive macro replaces manual LockFor implementations making the abstraction perfect. LockFor should then become a unsafe trait.