[glib] Remove some questionable documentation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Remove some questionable documentation
- Date: Mon, 27 Jul 2015 10:43:06 +0000 (UTC)
commit 9c4887027d6bd09f38120b195c677dbe3bc5654b
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jul 27 06:24:44 2015 -0400
Remove some questionable documentation
A function that takes a lock can certainly block in the sense
that it has to wait if the lock is taken.
https://bugzilla.gnome.org/show_bug.cgi?id=751751
glib/gasyncqueue.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c
index 5fc7300..84d2f75 100644
--- a/glib/gasyncqueue.c
+++ b/glib/gasyncqueue.c
@@ -790,7 +790,7 @@ g_async_queue_sort_unlocked (GAsyncQueue *queue,
* @queue: a #GAsyncQueue
* @data: the @data to remove from the @queue
*
- * Remove an item from the queue. This function does not block.
+ * Remove an item from the queue.
*
* Returns: %TRUE if the item was removed
*
@@ -817,7 +817,7 @@ g_async_queue_remove (GAsyncQueue *queue,
* @queue: a #GAsyncQueue
* @data: the @data to remove from the @queue
*
- * Remove an item from the queue. This function does not block.
+ * Remove an item from the queue.
*
* This function must be called while holding the @queue's lock.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]