Sleep for the specified duration (in microseconds).
GHC Note:
threadDelay is a better choice. Without the
-threaded option,
usleep will block all other user
threads. Even with the
-threaded option,
usleep
requires a full OS thread to itself.
threadDelay has neither of
these shortcomings.