From: Alexandre Montplaisir Date: Thu, 2 Jun 2016 09:26:54 +0000 (-0400) Subject: Comment the locking mechanisms in ContextInfoManager X-Git-Tag: v2.9.0-rc1~66 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=831b4b0806c39463ab61b8ee82c1951cf252bcd4;hp=831b4b0806c39463ab61b8ee82c1951cf252bcd4;p=lttng-ust.git Comment the locking mechanisms in ContextInfoManager Coverity didn't like our non-locking of the get() method. The lock is actually only needed for the registration/unregistration of retrievers, the get() can access the ConcurrentHashMap directly. Add a few comments to help explain this. Signed-off-by: Alexandre Montplaisir Signed-off-by: Mathieu Desnoyers ---