Perform a delay for specified number of microseconds.
If the parameter is a positive number, the delay is non-blocking, i.e. only the current process is paused while all other processes continue their execution. If the parameter is a negative number, then the function executes a blocking delay and all parallel processes pause until the delay is complete.
The accuracy of “wait()” depends on a number of factors, but generally, the blocking delays are much more accurate.