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:
Matthias Clasen 2006-01-16 22:14:17 +00:00 committed by Matthias Clasen
parent 102a875842
commit 5fb7be3961
4 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.
2006-01-16 Matthias Clasen <mclasen@redhat.com>
Fix bug 326747, Alberto Ruiz:

View File

@ -1,3 +1,8 @@
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.
2006-01-16 Matthias Clasen <mclasen@redhat.com>
Fix bug 326747, Alberto Ruiz:

View File

@ -1,3 +1,8 @@
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.
2006-01-16 Matthias Clasen <mclasen@redhat.com>
Fix bug 326747, Alberto Ruiz:

View File

@ -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