-
Jelte Jansen authored
new approach for blocking reads to prevent races: if the timeout or read is canceled, also wait until the cancel signal is processed other cleanup; only use one variable for the read_result and timer_result (with boost::optional) setResult does not need to be a member function, so i moved it out of the class don't cancel timer if it wasn't set added an io_service.reset() call to reset internal flags before the run_one() calls git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac296@2716 e5f2f494-b856-4b98-b285-d166d9295462
b6ea1cf4