Class (GI Struct)

Gst-1.0GstAtomicQueue

The Gst.AtomicQueue object implements a queue that can be used from multiple threads without performing any blocking operations.

Index

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Get the amount of items in the queue.

    Returns number

    the number of elements in the queue.

  • Peek the head element of the queue without removing it from the queue.

    Returns any

    the head element of queue or null when the queue is empty.

  • Get the head element of the queue.

    Returns any

    the head element of queue or null when the queue is empty.

  • Append data to the tail of the queue.

    Parameters

    • Optionaldata: any

      the data

    Returns void