Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/Progmasoft/Catch3/Benchmark/Chronometer.cpp
diff options
context:
space:
mode:
authorLeitwolf112026-10-24 17:43:17 +0300
committerLeitwolf112026-10-24 17:43:17 +0300
commit622188f9c08e4af35941c146979883ed4882410e (patch)
tree415fe5d48a5b48650bba3747beaf245d727c4f61 /src/Progmasoft/Catch3/Benchmark/Chronometer.cpp
parent906a47a04fe0be9e7e6769d8cae59b4b1d286460 (diff)
downloadcatch3-622188f9c08e4af35941c146979883ed4882410e.tar.gz
Do not write the history without its lock
History::Commit went on writing when the lock was still held by another run after ten seconds, so two runs that finished together could replace each other's record. It now returns an error instead, which the runner reports as a history that was not saved. The wait is a parameter, so the new unit test can hold the lock and see the commit refused.
Diffstat (limited to 'src/Progmasoft/Catch3/Benchmark/Chronometer.cpp')
0 files changed, 0 insertions, 0 deletions