Originally posted by: xtknight
In Linux, try this.
If you need help converting between microseconds/milliseconds, etc:
http://en.wikipedia.org/wiki/Microseconds
There is also nanosleep if you need nanosecond precision. But if you do, you probably shouldn't be using C because of the overhead involved.
Originally posted by: GMaximus
Awesome man, this seems to be exactly what I'm looking for. Thanks a bunch!