A destructor is present on this object, but not explicitly documented in the source.
Returns the length of the queue.
Returns the length of the queue.
Acquires the queue's lock. If another thread is already holding the lock, this call will block until the lock becomes available.
Pops data from the queue. If queue is empty, this function blocks until data becomes available.
Pops data from the queue. If queue is empty, this function blocks until data becomes available.
Pushes the data into the queue.
Pushes the item into the queue. item must not be null. In contrast to glib.async_queue.AsyncQueue.push, this function pushes the new item ahead of the items already in the queue, so that it will be the next one to be popped off the queue.
Pushes the item into the queue. item must not be null. In contrast to glib.async_queue.AsyncQueue.pushUnlocked, this function pushes the new item ahead of the items already in the queue, so that it will be the next one to be popped off the queue.
Inserts data into queue using func to determine the new position.
Inserts data into queue using func to determine the new position.
Pushes the data into the queue.
Increases the reference count of the asynchronous queue by 1.
Remove an item from the queue.
Remove an item from the queue.
Sorts queue using func.
Sorts queue using func.
Pops data from the queue. If the queue is empty, blocks until end_time or until data becomes available.
Pops data from the queue. If the queue is empty, blocks until end_time or until data becomes available.
Pops data from the queue. If the queue is empty, blocks for timeout microseconds, or until data becomes available.
Pops data from the queue. If the queue is empty, blocks for timeout microseconds, or until data becomes available.
Tries to pop data from the queue. If no data is available, null is returned.
Tries to pop data from the queue. If no data is available, null is returned.
Releases the queue's lock.
Decreases the reference count of the asynchronous queue by 1 and releases the lock. This function must be called while holding the queue's lock. If the reference count went to 0, the queue will be destroyed and the memory allocated will be freed.
An opaque data structure which represents an asynchronous queue.
It should only be accessed through the g_async_queue_* functions.