BIND 10 trac2874, updated. 2621cb25329d49ccf48ba515e4aa2cbdf8579c9c [2874] Note about (lack of) exception safety

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jul 17 13:32:45 UTC 2013


The branch, trac2874 has been updated
       via  2621cb25329d49ccf48ba515e4aa2cbdf8579c9c (commit)
      from  1351e76d7aba24cab1ba23f941d0997e5d24cb3f (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 2621cb25329d49ccf48ba515e4aa2cbdf8579c9c
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Wed Jul 17 15:32:27 2013 +0200

    [2874] Note about (lack of) exception safety

-----------------------------------------------------------------------

Summary of changes:
 src/bin/resolver/bench/coroutine_resolver.h |    5 +++++
 1 file changed, 5 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/resolver/bench/coroutine_resolver.h b/src/bin/resolver/bench/coroutine_resolver.h
index f4b767c..6efc5d0 100644
--- a/src/bin/resolver/bench/coroutine_resolver.h
+++ b/src/bin/resolver/bench/coroutine_resolver.h
@@ -29,6 +29,11 @@ namespace bench {
 ///
 /// Paralelism of waiting for upstream queries is done by executing
 /// coroutines. The cache is RCU-based.
+///
+/// \note Many a method here is not exception safe. It can leak
+///    or leave things in inconsistent state. But as we don't expect
+///    any exceptions and terminate if we meet one, we prefer simpler
+///    code for benchmarks.
 class CoroutineResolver : boost::noncopyable {
 public:
     /// \brief Constructor.



More information about the bind10-changes mailing list