Wanted to eliminate a silly thread that does nothing but waste system resources as a poor man's cron.
boost.asio also has deadline_timer, which is worth investigating.
Wanted to eliminate a silly thread that does nothing but waste system resources as a poor man's cron.
boost.asio also has deadline_timer, which is worth investigating.
Note not intended for 0.7.
Investigating boost.asio sounds like a good idea, before we build it entirely from scratch.
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/5cb618146cedc7630513afb016ef386e6bd4f172 for binaries and test log.
Looks like a lot of code for a feature that should be standard. I assume it will be easier using boost::asio?
Most likely we can use boost.asio deadline_timer... but that requires moving the "io_service" from RPC into the core code, so that non-RPC code may take advantage of the async I/O engine (and the timers that lie within).
Needs rebase.
closing, self-meh.
should consider boost deadline timer, rather than creating threads for same.
Milestone
0.8.0