Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
37583984
Commit
37583984
authored
Mar 26, 2013
by
Michal 'vorner' Vaner
Browse files
Merge branch 'master' of
git+ssh://git.bind10.isc.org/var/bind10/git/bind10
parents
d72fdded
ad11aede
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/zonemgr/zonemgr.py.in
View file @
37583984
...
...
@@ -690,7 +690,19 @@ class Zonemgr:
self.running = True
try:
while not self._shutdown_event.is_set():
self._module_cc.check_command(False)
fileno = self._module_cc.get_socket().fileno()
# Wait with select() until there is something to read,
# and then read it using a non-blocking read
# This may or may not be relevant data for this loop,
# but due to the way the zonemgr does threading, we
# can't have a blocking read loop here.
try:
(reads, _, _) = select.select([fileno], [], [])
except select.error as se:
if se.args[0] != errno.EINTR:
raise
if fileno in reads:
self._module_cc.check_command(True)
finally:
self._module_cc.send_stopping()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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