mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Merge branch 'thread-pool-docs-fix' into 'main'
gthreadpool: Clarify that item_free_func is not normally called See merge request GNOME/glib!3406
This commit is contained in:
@@ -576,6 +576,9 @@ g_thread_pool_new (GFunc func,
|
||||
* to g_thread_pool_push() in the case that the #GThreadPool is stopped
|
||||
* and freed before all tasks have been executed.
|
||||
*
|
||||
* @item_free_func will *not* be called on items successfully passed to @func.
|
||||
* @func is responsible for freeing the items passed to it.
|
||||
*
|
||||
* Returns: (transfer full): the new #GThreadPool
|
||||
*
|
||||
* Since: 2.70
|
||||
|
Reference in New Issue
Block a user