bhalicki@dodo.com.au (Macgyver) wrote:[color=blue]
>Hi all,
>
>does anyone know how to generate a millisecond delay in C, compiling
>under Linux? I understand the function sleep() will generate a delay
>down to a resolution of one second, but I need to be able to refine
>this to milliseconds.
>
>Any ideas?[/color]
Take the advice about asking in a different newsgroup, because
there is *far* more to this than meets the eye.
In fact, you shouldn't ask in comp.unix.programming because the
discussion you need is specific to Linux, not unix in general,
though they won't throw a hissy fit about it like you get here.
Try comp.os.linux.misc or better might be
comp.os.linux.development.apps.
--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)
floyd@barrow.com