cpp/thread/sleep for

Blocks the execution of the current thread for at least the specified.

This function may block for longer than due to scheduling or resource contention delays.

The standard recommends that a steady clock is used to measure the duration. If an implementation uses a system clock instead, the wait time may also be sensitive to clock adjustments.

Return value
(none)

Exceptions
Any exception thrown by, , or during the execution (clocks, time points, and durations provided by the standard library never throw).