Web lists-archives.com

Re: How method g_timeout_add uses Linux timer?




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