GLib.AsyncQueue.pop_unlocked

### Method

# GLib AsyncQueuepop_unlocked

#### Declaration [src]

    gpointer
    g_async_queue_pop_unlocked (
      GAsyncQueue* queue
    )

#### Description [src]

Pops data from the `queue`. If `queue` is empty, this function blocks until data becomes available.

This function must be called while holding the `queue`‘s lock.

#### Return value

Type: `gpointer`

Data from the queue.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.