Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
c269cdc1
Commit
c269cdc1
authored
Jun 04, 2013
by
JINMEI Tatuya
Browse files
[2964] updated comments on DataSrcClientsMgr.__map_lock
parent
24d49c3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/python/isc/server_common/datasrc_clients_mgr.py
View file @
c269cdc1
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment