Calculating timeouts with a clock that wraps

This blog post has moved to https://matthewvaneerde.wordpress.com/2007/12/14/calculating-timeouts-with-a-clock-that-wraps/