move_to_front


Description:

[ Version ( since = "2.46" ) ]
public bool move_to_front (T data)

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

Parameters:

this

a ThreadPool

data

an unprocessed item in the pool

Returns:

true if the item was found and moved