GNOME Bugzilla – Bug 751751
Wrong docs of g_async_queue_remove
Last modified: 2015-07-27 10:43:29 UTC
Created attachment 306436 [details] [review] Fix mistake in g_async_queue_remove docs. It actually may block, contrary to what docs say.
Review of attachment 306436 [details] [review]: Well, you are technically correct that the function will block until it can obtain the lock. But what the documentation alludes to is that the function does not wait until the data appears in the queue. It just tries to remove it and returns FALSE if it isn't found. Compare with g_async_queue_pop.