1#pragma once
2
3#include <cstdint>
4
5/**
6 * Sleep functions tolerant to signal interruptions (which can happen
7 * when query profiler is turned on for example)
8 */
9
10void sleepForNanoseconds(uint64_t nanoseconds);
11
12void sleepForMicroseconds(uint64_t microseconds);
13
14void sleepForMilliseconds(uint64_t milliseconds);
15
16void sleepForSeconds(uint64_t seconds);
17