diff options
Diffstat (limited to 'glib/gasyncqueue.c')
-rw-r--r-- | glib/gasyncqueue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c index b44cd287b..e025b50c4 100644 --- a/glib/gasyncqueue.c +++ b/glib/gasyncqueue.c @@ -308,6 +308,8 @@ g_async_queue_push_sorted_unlocked (GAsyncQueue *queue, data, (GCompareDataFunc)g_async_queue_invert_compare, &sd); + if (queue->waiting_threads > 0) + g_cond_signal (queue->cond); } static gpointer |