GLib.AsyncQueue.ref

### Method

# GLib AsyncQueueref

#### Declaration

    GAsyncQueue*
    g_async_queue_ref (
      GAsyncQueue* queue
    )

#### Description

Increases the reference count of the asynchronous `queue` by 1. You do not need to hold the lock to call this function.

This method is not directly available to language bindings.

#### Return value

Type: `GAsyncQueue`

The `queue` that was passed in (since 2.6)

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