### Function

# GLib usleep

since: 2.0

#### Declaration

    void
    g_usleep (
      gulong microseconds
    )

#### Description

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). `g_usleep()` may have limited precision, depending on hardware and operating system; don’t rely on the exact length of the sleep.

Available since: 2.0

#### Parameters

`microseconds`

  Type: `gulong`

  Number of microseconds to pause.