Skip to content

How to enable Mutex/Rwlock guard span? #4701

Answered by Darksonn
MrCroxx asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, detecting deadlocks is not as easy with async locks as it is for something like parking_lot. There could be things like a tokio::select! that the lock doesn't know about, but which can resolve the deadlock by cancelling a call to lock.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MrCroxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants