mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-29 21:33:30 +02:00
Signal waiting threads, problem noticed by Christian Kellner.
2006-01-16 Matthias Clasen <mclasen@redhat.com> * glib/gasyncqueue.c (g_async_queue_push_sorted_unlocked): Signal waiting threads, problem noticed by Christian Kellner.
This commit is contained in:
committed by
Matthias Clasen
parent
102a875842
commit
5fb7be3961
@@ -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
|
||||
|
Reference in New Issue
Block a user