Fix some issues

This commit is contained in:
Justine Tunney 2023-10-09 20:18:48 -07:00
parent 211d5d902e
commit 9d372f48dd
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
29 changed files with 373 additions and 63 deletions

View file

@ -26,11 +26,6 @@
#define MAXIMUM 1e9
#define ITERATIONS 10
void WarmUp(void) {
struct timespec wf = {0, 1};
npassert(!clock_nanosleep(CLOCK_REALTIME, 0, &wf, 0));
}
void TestSleepRealRelative(void) {
printf("\n");
printf("testing: clock_nanosleep(CLOCK_REALTIME) with relative "
@ -68,7 +63,6 @@ void TestSleepMonoRelative(void) {
}
int main(int argc, char *argv[]) {
WarmUp();
TestSleepRealRelative();
TestSleepMonoRelative();
}