Elements 6.3.3
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Sleep.cpp
Go to the documentation of this file.
1
18
20
21#include <chrono> // for chrono
22#include <cstdint> // for int64_t
23#include <thread> // for this_thread
24
26
27namespace Elements {
28
32void normalSleep(int sec) {
34}
35
42
43} // namespace Elements
T sleep_for(T... args)
ELEMENTS_API void normalSleep(int sec)
Simple sleep function.
Definition Sleep.cpp:32
ELEMENTS_API void nanoSleep(std::int64_t nsec)
Small variation on the sleep function for nanoseconds sleep.
Definition Sleep.cpp:39
T sleep_for(T... args)