diff options
author | MacroFake <falke.marco@gmail.com> | 2022-04-30 10:24:24 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-07-13 15:20:49 +0200 |
commit | fa3b3cb9b5d944d34b1d5ac3e102ac333482a475 (patch) | |
tree | 9a338b793380212c0972c031681e59bb03a956b1 /ci | |
parent | 1d89fc695a3aeb3e3dcadf371b7667572b38c836 (diff) |
Expose underlying clock in CThreadInterrupt
Overloading sleep_for is not needed, as
* seconds and minutes can be converted to milliseconds by the compiler,
not needing a duration_cast
* std::condition_variable::wait_for will convert milliseconds to the
duration type of the underlying clock
So simply expose the clock.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/test/06_script_b.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh index e1032ba6bd..bdf913a089 100755 --- a/ci/test/06_script_b.sh +++ b/ci/test/06_script_b.sh @@ -47,6 +47,7 @@ if [ "${RUN_TIDY}" = "true" ]; then " src/rpc/fees.cpp"\ " src/rpc/signmessage.cpp"\ " src/test/fuzz/txorphan.cpp"\ + " src/threadinterrupt.cpp"\ " src/util/bip32.cpp"\ " src/util/bytevectorhash.cpp"\ " src/util/error.cpp"\ |