Rudiments: /home/dmuse/temp/rudiments/include/rudiments/snooze.h Source File

Rudiments

snooze.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_SNOOZE_H
5 #define RUDIMENTS_SNOOZE_H
6
7 #include <rudiments/private/snoozeincludes.h>
8
11 class RUDIMENTS_DLLSPEC snooze {
12 public:
13
18 static bool macrosnooze(uint32_t seconds);
19
27 static bool macrosnooze(uint32_t seconds,
28 uint32_t *secondsremaining);
29
30
36 static bool microsnooze(uint32_t seconds,
37 uint32_t microseconds);
38
49 static bool microsnooze(uint32_t seconds,
50 uint32_t microseconds,
51 uint32_t *secondsremaining,
52 uint32_t *microsecondsremaining);
53
54
60 static bool nanosnooze(uint32_t seconds,
61 uint32_t nanoseconds);
62
73 static bool nanosnooze(uint32_t seconds,
74 uint32_t nanoseconds,
75 uint32_t *secondsremaining,
76 uint32_t *nanosecondsremaining);
77
78 #include <rudiments/private/snooze.h>
79 };
80
81 #endif
snooze
Definition: snooze.h:11
snooze::microsnooze
static bool microsnooze(uint32_t seconds, uint32_t microseconds)
snooze::macrosnooze
static bool macrosnooze(uint32_t seconds)
snooze::macrosnooze
static bool macrosnooze(uint32_t seconds, uint32_t *secondsremaining)
snooze::nanosnooze
static bool nanosnooze(uint32_t seconds, uint32_t nanoseconds)
snooze::microsnooze
static bool microsnooze(uint32_t seconds, uint32_t microseconds, uint32_t *secondsremaining, uint32_t *microsecondsremaining)
snooze::nanosnooze
static bool nanosnooze(uint32_t seconds, uint32_t nanoseconds, uint32_t *secondsremaining, uint32_t *nanosecondsremaining)