Commit c269cdc1 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2964] updated comments on DataSrcClientsMgr.__map_lock

parent 24d49c3c
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment