26 using std::chrono::system_clock;
27 using std::chrono::milliseconds;
36 const milliseconds TIMEOUT{WAIT_mSec};
38 using CLOCK_SCALE = std::milli;
39 using Dur = std::chrono::duration<double, CLOCK_SCALE>;
58 Sync<NonrecursiveLock_Waitable>
69 auto start = system_clock::now();
71 auto salvation = []{
return false; };
72 bool fulfilled = lock.wait_for (TIMEOUT, salvation);
74 CHECK (not fulfilled);
76 Dur duration = system_clock::now () - start;
Facility for monitor object based locking.
scoped guard to control the actual locking.
Implementation namespace for support and library code.
Object Monitor based synchronisation.
Abstract Base Class for all testcases.
Simplistic test class runner.
const uint WAIT_mSec
milliseconds to wait before timeout
Lumiera error handling (C++ interface).