mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
GAsyncQueue: Add some useful api
The underlying queue supports removing and pushing items to the front, and these operations can sometimes be useful. https://bugzilla.gnome.org/show_bug.cgi?id=751160
This commit is contained in:
@@ -839,6 +839,8 @@ g_async_queue_ref
|
||||
g_async_queue_unref
|
||||
g_async_queue_push
|
||||
g_async_queue_push_sorted
|
||||
g_async_queue_push_front
|
||||
g_async_queue_remove
|
||||
g_async_queue_pop
|
||||
g_async_queue_try_pop
|
||||
g_async_queue_timeout_pop
|
||||
@@ -852,6 +854,8 @@ g_async_queue_ref_unlocked
|
||||
g_async_queue_unref_and_unlock
|
||||
g_async_queue_push_unlocked
|
||||
g_async_queue_push_sorted_unlocked
|
||||
g_async_queue_push_front_unlocked
|
||||
g_async_queue_remove_unlocked
|
||||
g_async_queue_pop_unlocked
|
||||
g_async_queue_try_pop_unlocked
|
||||
g_async_queue_timeout_pop_unlocked
|
||||
|
Reference in New Issue
Block a user