Matthias Clasen
eed36d38d1
Various doc tweaks
2010-11-28 23:55:43 -05:00
Ryan Lortie
587c9d09e2
GPeriodic: enable subclassing
...
Move GPeriodic struct and class struct to the header. Do ->priv.
2010-11-08 18:22:18 -05:00
Ryan Lortie
9fbfac6abb
GPeriodic: remove repair functions
...
Replace it with a single repair signal that either fires or does not.
2010-11-08 18:22:18 -05:00
Ryan Lortie
63b87b2c26
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.
2010-11-03 00:16:16 -04:00
Ryan Lortie
c3a0d32ef1
Switch GTimeSpec users to int64 microseconds
...
glib is trying to move toward using microseconds-in-gint64 as its
universal time format.
No real API breaks here since GTimeSpec is new this unstable release
series.
2010-11-02 22:39:09 -04:00
Ryan Lortie
f7a918dcb9
GPeriodic: allow unblock time to be passed in
2010-10-27 09:22:13 -04:00
Ryan Lortie
d3fe2efb83
switch GPeriodic to use monotonic time
2010-10-27 09:22:13 -04:00
Ryan Lortie
8690984cea
GPeriodic: pass microseconds to the tick functions
...
...instead of milliticks, which nobody really cares to understand.
2010-10-21 01:37:23 +02:00
Ryan Lortie
5400b0b38c
GPeriodic: a periodic event clock
...
Add a new class, GPeriodic.
We hope to use this as a paint clock that can be shared by GTK and
Clutter. Many changes are still expected to the API.
2010-10-20 11:47:31 +02:00