mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 08:16:24 +01:00
Merge branch '2368-task-docs' into 'master'
gtask: Clarify what counts as ‘too many tasks’ for rate limiting Closes #2368 See merge request GNOME/glib!2045
This commit is contained in:
commit
7c217b1c6a
@ -1528,9 +1528,9 @@ g_task_start_task_thread (GTask *task,
|
|||||||
*
|
*
|
||||||
* Although GLib currently rate-limits the tasks queued via
|
* Although GLib currently rate-limits the tasks queued via
|
||||||
* g_task_run_in_thread(), you should not assume that it will always
|
* 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
|
* do this. If you have a very large number of tasks to run (several tens of
|
||||||
* want them to all run at once, you should only queue a limited
|
* tasks), but don't want them to all run at once, you should only queue a
|
||||||
* number of them at a time.
|
* limited number of them (around ten) at a time.
|
||||||
*
|
*
|
||||||
* Since: 2.36
|
* Since: 2.36
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user