mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-16 23:50:32 +00:00
Fix some issues
This commit is contained in:
parent
211d5d902e
commit
9d372f48dd
29 changed files with 373 additions and 63 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue