From: JINMEI Tatuya Date: Tue, 4 Jun 2013 21:21:59 +0000 (-0700) Subject: [2964] updated comments on DataSrcClientsMgr.__map_lock X-Git-Tag: bind10-1.2.0beta1-release~423^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c269cdc11c02affd7b191a4aabcc56bf6894ef3a;p=thirdparty%2Fkea.git [2964] updated comments on DataSrcClientsMgr.__map_lock --- diff --git a/src/lib/python/isc/server_common/datasrc_clients_mgr.py b/src/lib/python/isc/server_common/datasrc_clients_mgr.py index 95115a6210..d5d595cc3f 100644 --- a/src/lib/python/isc/server_common/datasrc_clients_mgr.py +++ b/src/lib/python/isc/server_common/datasrc_clients_mgr.py @@ -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()