ReentrantSetUp* methods are needed because you can't control iteration
count
Usage:
./configure --with-benchmark
OR
./configure --with-benchmark-source=/path/to/benchmark/src
make
cd src/lib/dhcpsrv/benchmarks
./run-benchmarks
OR
./run-benchmarks --benchmark_filter="RegExP*"
The joker in the pack here is io_address.h, required by the DHCP
header files. That refers to the headers-only version of Boost
ASIO included in the BIND 10 source kit, so the ASIO files need
to be copied as well.
https://sourceforge.net/projects/asio/files/asio/1.5.2%20%28Development%29/
* Cleaned up the handling of errors reported by the `close()` system call. In particular, assume that most operating systems won't have `close()` fail with `EWOULDBLOCK`, but if it does then set the blocking mode and restart the call. If any other error occurs, assume the descriptor is closed.
Previous versions uncoditionally made sockets blocking on close(), which
was propagated to other processes that share the same socket.
It (could) subsequently cause a hangup-like situation.
https://sourceforge.net/projects/asio/files/asio/1.5.1%20%28Development%29/
* Fixed a bug on kqueue-based platforms, where reactor read operations that return false from their perform() function are not correctly re-registered with kqueue.
This is necessary for multiple processes sharing the same socket to both
accept queries.
Remove the use of ext/boost from configure.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac217-remove-ext-boost@2017 e5f2f494-b856-4b98-b285-d166d9295462
src/lib/cc/session.cc that were triggered by ASIO code.
- move ext/boost and ext/asio each down one level, to ext/boost/boost
and ext/asio/asio. This allows groups of external headers to be
included more selectively: we can switch on asio without also including
boost, or change the boost include directory without losing asio.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1952 e5f2f494-b856-4b98-b285-d166d9295462