Method

GLibAsyncQueueremove_unlocked

since: 2.46

Declaration

gboolean
g_async_queue_remove_unlocked (
  GAsyncQueue* queue,
  gpointer item
)

Description

Remove an item from the queue.

This function must be called while holding the queues lock.

Available since: 2.46

Parameters

item

Type: gpointer

The data to remove from the queue.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the item was removed.