Minor: documentation for Thread::sleep()


The static Thread::sleep() method has no documentation at the moment.

While it is quite straightforward to understand what it does in essence (pause execution of the current thread for the specified amount of milliseconds), I think that would also be a good place where to explain the difference between sleep() and wait(), and perhaps give some rules of thumb for when to use one or the other.