BIND 10 trac678, updated. 1165c559d56305469df3148f0a652bb1e2dcc9a1 [trac678] Make sure io_service stops when asked to
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Mar 16 08:53:54 UTC 2011
The branch, trac678 has been updated
via 1165c559d56305469df3148f0a652bb1e2dcc9a1 (commit)
from daf3c3de7e1ec602131dfb0d71df140b9b43093f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1165c559d56305469df3148f0a652bb1e2dcc9a1
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Wed Mar 16 09:49:32 2011 +0100
[trac678] Make sure io_service stops when asked to
.stop() followed directly by .reset() doesn't work. It seems asio has a
"can run" boolean variable, stop sets it to false, reset to true, so if
they are both called from inside the .run() main loop, it does nothing.
-----------------------------------------------------------------------
Summary of changes:
src/lib/asiolink/tests/dns_server_unittest.cc | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/asiolink/tests/dns_server_unittest.cc b/src/lib/asiolink/tests/dns_server_unittest.cc
index 06d2331..1d3b7ef 100644
--- a/src/lib/asiolink/tests/dns_server_unittest.cc
+++ b/src/lib/asiolink/tests/dns_server_unittest.cc
@@ -367,7 +367,6 @@ class DNSServerTest : public::testing::Test {
static void stopIOService(int _no_use_parameter) {
io_service_is_time_out = true;
service.stop();
- service.reset();
}
bool serverStopSucceed() const {
More information about the bind10-changes
mailing list