Commit Graph

36 Commits (f294da727413210fda279afdc206a4dd12046d56)

Author SHA1 Message Date
sinetek 2a39ccf133 Add include for std::bind.
4 years ago
MarcoFalke fa8337fcdb
clang-format scheduler
4 years ago
MarcoFalke fac43f9889
scheduler: Replace stop(true) with StopWhenDrained()
5 years ago
MarcoFalke fa609c4f76
scheduler: Remove unused REVERSE_LOCK
5 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
MarcoFalke fadafb83cf
scheduler: Make schedule* methods type safe
5 years ago
MarcoFalke fa70ccc6c4
scheduler: Use C++11 member initialization, add shutdown assert
5 years ago
Anthony Towns d0ebd93270 scheduler: switch from boost to std
5 years ago
Amiti Uttarwar a6f63598ad [util] allow scheduler to be mocked
5 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
Pieter Wuille d61f2bb076 Run background seeding periodically instead of unpredictably
5 years ago
Pieter Wuille 9d7032e4f0 Switch all RNG code to the built-in PRNG.
6 years ago
Chun Kuan Lee cb53b825c2 scripted-diff: Replace boost::bind with std::bind
6 years ago
Arvid Norberg 3ccfa34b32 convert C-style (void) parameter lists to C++ style ()
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
Matt Corallo 5a933cefcc Add an interface to get the queue depth out of CValidationInterface
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
practicalswift 64fb0ac016 Declare single-argument (non-converting) constructors "explicit"
7 years ago
Matt Corallo a56f8b0be3 Add missing lock in CScheduler::AreThreadsServicingQueue()
7 years ago
Matt Corallo 1f668b6468 Expose if CScheduler is being serviced, assert its not in EmptyQueue
7 years ago
Matt Corallo 3192975f1d Flush CValidationInterface callbacks prior to destruction
7 years ago
Matt Corallo 08096bbbc6 Support more than one CScheduler thread for serial clients
7 years ago
Matt Corallo 888cce57a6 Add perf counter data to GetStrongRandBytes state in scheduler
8 years ago
Cory Fields e025246fe2 scheduler: fix sub-second precision with boost < 1.50
8 years ago
Matt Corallo 73296f54d6 CScheduler boost->std::function, use millisecs for times, not secs
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
Wladimir J. van der Laan 12519bf62b test: Fix use-after-free in scheduler tests
8 years ago
Pavel Janík 166e4b0dfa Notify other serviceQueue thread we are finished to prevent deadlocks.
9 years ago
Casey Rodarmor 86270c8164 Replace boost::reverse_lock with our own.
9 years ago
Casey Rodarmor fb08d92312 Make sure we re-acquire lock if a task throws
9 years ago
Cory Fields 72bf90d770 Fix scheduler build with some boost versions.
10 years ago
Wladimir J. van der Laan bdcf5dea7c Fix intermittent hang issue in scheduler_tests
10 years ago
Gavin Andresen f50105486f
More robust CScheduler unit test
10 years ago
Cory Fields cfefe5b88c
scheduler: fix with boost <= 1.50
10 years ago
Gavin Andresen 928b950e3b
CScheduler class for lightweight task scheduling
10 years ago