]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2964] updated comments on DataSrcClientsMgr.__map_lock
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 4 Jun 2013 21:21:59 +0000 (14:21 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 4 Jun 2013 21:21:59 +0000 (14:21 -0700)
src/lib/python/isc/server_common/datasrc_clients_mgr.py

index 95115a621042c519bc749af0af1628365c004417..d5d595cc3fbaf67be4b77ccc8b114a69d7b72513 100644 (file)
@@ -54,8 +54,10 @@ class DataSrcClientsMgr:
 
         # Map from RRClass to ConfigurableClientList.  Resetting this map
         # is protected by __map_lock.  Note that this lock doesn't protect
-        # "updates" of the map content.  __clients_map shouldn't be accessed
-        # by class users directly.
+        # "updates" of the map content (currently it's not a problem, but
+        # if and when we support more operations such as reloading
+        # particular zones in in-memory cache, remember that there will have
+        # to be an additional layer of protection).
         self.__clients_map = {}
         self.__map_lock = threading.Lock()