You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "mkevo (GitHub)" <gi...@apache.org> on 2019/09/25 07:27:29 UTC

[GitHub] [geode] mkevo commented on pull request #4085: GEODE-6927 make getThreadOwnedConnection code thread safe

Thanks for comments! Can we just do `synchronized(this.threadConnectionMap)` at the start and not use copy to local variable? In this case we don't need always to check if threadConnectionMap is changed as it can be only changed by this thread.

[ Full content available at: https://github.com/apache/geode/pull/4085 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org