Elements 6.3.3
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Sleep.h
Go to the documentation of this file.
1
16
21
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
29namespace Elements {
30
32ELEMENTS_API void normalSleep(int sec);
33
35ELEMENTS_API void nanoSleep(std::int64_t nsec);
36
37} // namespace Elements
38
39#endif // ELEMENTSKERNEL_ELEMENTSKERNEL_SLEEP_H_
40
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
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