aboutsummaryrefslogtreecommitdiff
path: root/src/scheduler.h
AgeCommit message (Collapse)Author
2017-05-13Replace boost::function with std::function (C++11)practicalswift
2017-03-06CScheduler boost->std::function, use millisecs for times, not secsMatt Corallo
2015-05-16More robust CScheduler unit testGavin Andresen
On a busy or slow system, the CScheduler unit test could fail because it assumed all threads would be done after a couple of milliseconds. Replace the hard-coded sleep with CScheduler stop() method that will cleanly exit the servicing threads when all tasks are completely finished.
2015-05-14CScheduler class for lightweight task schedulingGavin Andresen
Simple class to manage a task queue that is serviced by one or more threads.