Method

GLibAsyncQueuetry_pop_unlocked

Declaration [src]

gpointer
g_async_queue_try_pop_unlocked (
  GAsyncQueue* queue
)

Description [src]

Tries to pop data from the queue. If no data is available, NULL is returned.

This function must be called while holding the queues lock.

Return value

Type: gpointer

Data from the queue or NULL, when no data is available immediately.

The returned data is owned by the instance.
The return value can be NULL.