ChimeraTK-DeviceAccess 03.25.00
Loading...
Searching...
No Matches
testableRebotSleep.cc
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
5
7 boost::chrono::steady_clock::time_point now() {
8 return boost::chrono::steady_clock::now();
9 }
10
16 void sleep_until(boost::chrono::steady_clock::time_point t) {
17 boost::this_thread::sleep_until(t);
18 }
19} // namespace ChimeraTK::testable_rebot_sleep
boost::chrono::steady_clock::time_point now()
void sleep_until(boost::chrono::steady_clock::time_point t)
There are two implementations with the same signature: One that calls boost::thread::this_thread::sle...