Elements  5.8
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
33 ELEMENTS_API void normalSleep(int sec);
34 
38 
39 } // namespace Elements
40 
41 #endif // ELEMENTSKERNEL_ELEMENTSKERNEL_SLEEP_H_
42 
ELEMENTS_API void nanoSleep(std::int64_t nsec)
Small variation on the sleep function for nanoseconds sleep.
Definition: Sleep.cpp:40
ELEMENTS_API void normalSleep(int sec)
Small variation on the sleep function for seconds sleep.
Definition: Sleep.cpp:33
defines the macros to be used for explicit export of the symbols
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74