Inserts @data into @queue using @func to determine the new position.
This function requires that the @queue is sorted before pushing on new elements, see g_async_queue_sort().
This function will lock @queue before it sorts the queue and unlock it when it is finished.
For an example of @func see g_async_queue_sort().
the @data to push into the @queue
the #GCompareDataFunc is used to sort @queue
user data passed to @func.
2.10
See Implementation
Inserts @data into @queue using @func to determine the new position.
This function requires that the @queue is sorted before pushing on new elements, see g_async_queue_sort().
This function will lock @queue before it sorts the queue and unlock it when it is finished.
For an example of @func see g_async_queue_sort().