add g_async_queue_new_full() which takes a GDestroyNotify function to free

* docs/reference/glib/glib-sections.txt:
	* glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
	  (g_async_queue_unref):
	* glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
	  GDestroyNotify function to free any remaining queue items when the
	  queue is destroyed after the final atomic unref (#367550).


svn path=/trunk/; revision=6152
This commit is contained in:
Tim-Philipp Müller
2007-12-18 16:46:36 +00:00
parent ac1723ea97
commit 3ca41fe109
4 changed files with 35 additions and 0 deletions

View File

@@ -671,6 +671,7 @@ g_thread_pool_get_max_idle_time
<FILE>async_queues</FILE>
GAsyncQueue
g_async_queue_new
g_async_queue_new_full
g_async_queue_ref
g_async_queue_unref
g_async_queue_push