Method

GLibThreadPoolmove_to_front

since: 2.46

Declaration

gboolean
g_thread_pool_move_to_front (
  GThreadPool* pool,
  gpointer data
)

Description

Moves the item to the front of the queue of unprocessed items, so that it will be processed next.

Available since: 2.46

Parameters

data

Type: gpointer

An unprocessed item in the pool.

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

Return value

Type: gboolean

TRUE if the item was found and moved.