How method g_timeout_add uses Linux timer?

2015-12-09 Thread Andrzej Borucki
For Windows is ::SetTimer, ::KillTimer but how glib uses timewr for Linux? is sort of: timer_t tid; sigevent sig; timer_create(CLOCK_REALTIME, , ); ? ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: How method g_timeout_add uses Linux timer?

2015-12-09 Thread Paul Davis
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 wrote: > For Windows is ::SetTimer, ::KillTimer but how glib uses