Remove some questionable documentation
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Jul 2015 10:24:44 +0000 (06:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Jul 2015 10:42:46 +0000 (06:42 -0400)
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

index 5fc7300..84d2f75 100644 (file)
@@ -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.
  *