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 gmail com> 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 gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list




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