35 using std::chrono::system_clock;
36 using std::chrono::milliseconds;
45 const milliseconds TIMEOUT{WAIT_mSec};
47 using CLOCK_SCALE = std::milli;
48 using Dur = std::chrono::duration<double, CLOCK_SCALE>;
67 Sync<NonrecursiveLock_Waitable>
78 auto start = system_clock::now();
80 auto salvation = []{
return false; };
81 bool fulfilled = lock.wait_for (TIMEOUT, salvation);
83 CHECK (not fulfilled);
85 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.
Simple test class runner.
const uint WAIT_mSec
milliseconds to wait before timeout
Lumiera error handling (C++ interface).