Skip to content

gwakeup: Reduce wake-ups to only first item in queue

Christian Hergert requested to merge reduce-gwakeup into main

We only need to wake up the other side of the GAsyncQueue if we transition from 0 to 1 item in the queue. Otherwise, we can be certain that the other side has received a wakeup and will eventually flush the queue.

Merge request reports