as a way of creating accurately timed delays. A simple 'msleep' is implemented by watching the system clock to wait a certain number of milleseconds before it returns. Its a bit more accurate than a for loop, although it really shines when your running multiple threads.