Replies: 1 comment
-
@grennis There's a good thread on the thread safety of In short, we don't need to manually lock here because the |
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
-
I was wondering if the Wrapper class is thread safe. It seems like the check for
isKnownUniquelyReferenced
and the code that acts on the result should be locked because another thread could create another reference in between those statements. This could affect the performance test.I'm not sure this is actually an issue though?
Beta Was this translation helpful? Give feedback.
All reactions