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

Rudiments

- Main Page
- Classes

snooze.h
1 // Copyright (c) 2004-2015 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