mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 08:23:38 +02:00
Add simple dynamic scheduling to GPeriodic
GPeriodic will now try not to use more than 50% of the CPU for its own purposes unless there are no other tasks attempting to run.
This commit is contained in:
@@ -2911,7 +2911,8 @@ GPeriodic
|
||||
<SUBSECTION>
|
||||
g_periodic_new
|
||||
g_periodic_get_hz
|
||||
g_periodic_get_priority
|
||||
g_periodic_get_high_priority
|
||||
g_periodic_get_low_priority
|
||||
<SUBSECTION>
|
||||
GPeriodicTickFunc
|
||||
g_periodic_add
|
||||
|
Reference in New Issue
Block a user