Re: How method g_timeout_add uses Linux timer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why not read the source code?

Hint: it doesn't use signals. The event loop is always running, which means blocking and waiting for events (or a timeout).

On Wed, Dec 9, 2015 at 7:10 AM, Andrzej Borucki <borucki.andrzej@xxxxxxxxx> wrote:
For Windows is ::SetTimer, ::KillTimer but how glib uses timewr for Linux?
is sort of:
timer_t tid;
sigevent sig;
timer_create(CLOCK_REALTIME, &sig, &tid);
?

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux