diff options
Diffstat (limited to 'hieronymus')
-rw-r--r-- | hieronymus/ChangeLog | 5 | ||||
-rw-r--r-- | hieronymus/hieronymus.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/hieronymus/ChangeLog b/hieronymus/ChangeLog index 4952cdc..1a7a864 100644 --- a/hieronymus/ChangeLog +++ b/hieronymus/ChangeLog @@ -1,3 +1,8 @@ +2009-01-16 Neal H. Walfield <neal@gnu.org> + + * hieronymus.c (main): Use uint64_t, not l4_uint64_t. + (main) [USE_L4]: Don't sleep in this case. + 2008-12-12 Neal H. Walfield <neal@gnu.org> Update according to new RPC interfaces. diff --git a/hieronymus/hieronymus.c b/hieronymus/hieronymus.c index 4a7190e..af5913d 100644 --- a/hieronymus/hieronymus.c +++ b/hieronymus/hieronymus.c @@ -293,7 +293,7 @@ main (int argc, char *argv[]) int started = 0; while (started < module_count) { - l4_uint64_t start = now (); + uint64_t start = now (); uint64_t deadline = -1ULL; const char *next = NULL; @@ -327,7 +327,11 @@ main (int argc, char *argv[]) debug (0, "Waiting %llu 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 } } |