GThreadPool: Add some queue manipulation api

GTask has a need for an api that boosts an unprocessed
item to the front of the queue, so add one.

https://bugzilla.gnome.org/show_bug.cgi?id=751160
This commit is contained in:
Matthias Clasen
2015-06-29 08:19:31 -07:00
parent 26d8792710
commit 9486f697bb
3 changed files with 35 additions and 0 deletions

View File

@@ -827,6 +827,7 @@ g_thread_pool_stop_unused_threads
g_thread_pool_set_sort_function
g_thread_pool_set_max_idle_time
g_thread_pool_get_max_idle_time
g_thread_pool_move_to_front
</SECTION>
<SECTION>