Get the amount of items in the queue.
the number of elements in the queue.
Peek the head element of the queue without removing it from the queue.
the head element of queue or null when the queue is empty.
Get the head element of the queue.
the head element of queue or null when the queue is empty.
Append data to the tail of the queue.
Optionaldata: anythe data
Increase the refcount of queue.
Unref queue and free the memory when the refcount reaches 0.
Staticnew
The Gst.AtomicQueue object implements a queue that can be used from multiple threads without performing any blocking operations.