diff options
author | Neal H. Walfield <neal@gnu.org> | 2009-02-21 21:14:41 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2009-02-21 21:14:41 +0100 |
commit | 759bcbda499afd29b8da5fd47f437b96a6c948cc (patch) | |
tree | 0530a6ff40977412aaf9ec126cfdf7e408ddccec /hieronymus | |
parent | 52ce316a43952dbe15d6072b77f70bb121b3b872 (diff) |
Add sleep and time support.
Diffstat (limited to 'hieronymus')
-rw-r--r-- | hieronymus/hieronymus.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/hieronymus/hieronymus.c b/hieronymus/hieronymus.c index f21c757..35ea6c2 100644 --- a/hieronymus/hieronymus.c +++ b/hieronymus/hieronymus.c @@ -333,11 +333,7 @@ main (int argc, char *argv[]) debug (0, "Waiting %"PRIu64" seconds before starting %s", (deadline - (start - epoch)) / 1000000, next); -#ifdef USE_L4 - l4_sleep (l4_time_period (deadline - (start - epoch))); -#else -# warning Need a sleep function. -#endif + sleep ((deadline - (start - epoch)) / 1000000); } } |