Perhaps refrain from practicing Mutex ? #2182
sigmarsson
started this conversation in
Ideas
Replies: 1 comment
-
Relates to #1546 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
afaik,
Mutex
has thread affinity , which seldom results in facing the exception beneath. What I learned;Mutex
shall be released on the same thread that it was created on - if I am not mistaken. So this is whatawait
does not guarantee.Perhaps would it be possible to replace
Mutex
with another synchronization primitive sans such affinity ?Object synchronization method was called from an unsynchronized block of code.
STrace :
Beta Was this translation helpful? Give feedback.
All reactions