non_standard:sleep

C++ Reference

sleep

Sleep is a C++ function that suspends the thread execution for integer value seconds.

It accepts only integer values.

If someone wants to suspend a thread execution for a float value seconds i.e. nnn,nnn he must use a combination of sleep and usleep.