1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-04-04 06:43:07 +02:00

Merge branch '2368-task-docs' into 'master'

gtask: Clarify what counts as ‘too many tasks’ for rate limiting

Closes 

See merge request 
This commit is contained in:
Sebastian Dröge 2021-04-15 07:22:05 +00:00
commit 7c217b1c6a

@ -1528,9 +1528,9 @@ g_task_start_task_thread (GTask *task,
*
* Although GLib currently rate-limits the tasks queued via
* g_task_run_in_thread(), you should not assume that it will always
* do this. If you have a very large number of tasks to run, but don't
* want them to all run at once, you should only queue a limited
* number of them at a time.
* do this. If you have a very large number of tasks to run (several tens of
* tasks), but don't want them to all run at once, you should only queue a
* limited number of them (around ten) at a time.
*
* Since: 2.36
*/