mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +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
|
||||
* 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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user