Method System.nanosleep()
- Method
nanosleep
float
nanosleep(int
|float
seconds
)- Description
Call the system nanosleep() function.
This is not to be confused with the global function predef::sleep() that does more elaborate things and can sleep with better precision (although dependant on a normal functioning system clock).
Returns the remaining time to sleep (as the system function does).
- See also
- Note
May not be present; only exists if the function exists in the current system.