Blocks for at least the specified number of seconds, handling events meanwhile if the current thread is the current eventspace's handler thread (otherwise, sleep/yield is equivalent to sleep).