Elements  6.2
A C++ base framework for the Euclid Software.
Sleep.h
Go to the documentation of this file.
1 
22 #ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_SLEEP_H_
23 #define ELEMENTSKERNEL_ELEMENTSKERNEL_SLEEP_H_
24 
25 #include <cstdint>
26 
27 #include "ElementsKernel/Export.h" // ELEMENTS_API
28 
29 namespace Elements {
30 
32 ELEMENTS_API void normalSleep(int sec);
33 
36 
37 } // namespace Elements
38 
39 #endif // ELEMENTSKERNEL_ELEMENTSKERNEL_SLEEP_H_
40 
Export.h
defines the macros to be used for explicit export of the symbols
ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74
Elements::nanoSleep
ELEMENTS_API void nanoSleep(std::int64_t nsec)
Small variation on the sleep function for nanoseconds sleep.
Definition: Sleep.cpp:39
Elements::normalSleep
ELEMENTS_API void normalSleep(int sec)
Simple sleep function.
Definition: Sleep.cpp:32
std::int64_t
Elements
Definition: callBackExample.h:35