usleep

fnvoid usleep(gulong microseconds)

Pauses the current thread for the given number of microseconds.

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

Parameters

microsecondsnumber of microseconds to pause