ChimeraTK-DeviceAccess 03.25.00
Loading...
Searching...
No Matches
testableRebotSleep.h
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#pragma once
4
5#include <boost/chrono.hpp>
6#include <boost/thread.hpp>
7
8namespace ChimeraTK { namespace testable_rebot_sleep {
9 boost::chrono::steady_clock::time_point now();
10
16 void sleep_until(boost::chrono::steady_clock::time_point t);
17}} // 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...