diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2023-04-27 17:31:58 +0000 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2023-04-27 17:31:58 +0000 |
commit | 473063383df0ec135fd86b75b6f7f1dd20a8e2aa (patch) | |
tree | d044aea6b786ab63abb7d97384b3c78dbacdfb82 | |
parent | 91af1c180ada2c9f176720d99a8b756f384559ea (diff) | |
parent | 7adca698d89461968b0cca807b863a3b7837e2c6 (diff) | |
download | glib-473063383df0ec135fd86b75b6f7f1dd20a8e2aa.tar.gz |
Merge branch 'thread-pool-docs-fix' into 'main'
gthreadpool: Clarify that item_free_func is not normally called
See merge request GNOME/glib!3406
-rw-r--r-- | glib/gthreadpool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/gthreadpool.c b/glib/gthreadpool.c index 3151cb6ad..54e49b3c0 100644 --- a/glib/gthreadpool.c +++ b/glib/gthreadpool.c @@ -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 |