usleep


Description:

[ CCode ( cname = "g_usleep" ) ]
public static void usleep (ulong microseconds)

Pauses the current thread for the given number of microseconds.

There are 1 million microseconds per second (represented by the g_usec_per_sec macro). usleep may have limited precision, depending on hardware and operating system; don't rely on the exact length of the sleep.

Parameters:

microseconds

number of microseconds to pause