AsyncQueue
An opaque data structure which represents an asynchronous queue.
It should only be accessed through the g_async_queue_*
functions.
Skipped during bindings generation
parameter
item_free_func
: DestroyNotify
Constructors
Functions
Registers a cleaner to be executed when this proxy object is garbage collected.
Returns the length of the queue.
Pops data from the @queue. If @queue is empty, this function blocks until data becomes available.
Pushes the @item into the @queue. @item must not be null. In contrast to g_async_queue_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 g_async_queue_push_unlocked(), 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. You do not need to hold the lock to call this function.
This is deprecated since version 2.8.
Removes a previously registered cleaner from this proxy object.
Remove an item from the queue.
Sorts @queue using @func.
Sorts @queue using @func.
This is deprecated.
Pops data from the @queue. If the queue is empty, blocks for
Pops data from the @queue. If the queue is empty, blocks for
Tries to pop data from the @queue. If no data is available, null is returned.
This is deprecated since version 2.8.