Re: handlers for g_timeout_add and g_idle_add different threads?




--- Hubert Sokolowski <h sokolowski wsisiz edu pl> wrote:

    Quick question:  I've read through all the stuff I can find on the glib
main loop support for timeout handlers and idle handlers, but there's a
simple question I have:

- Do either, or both. of these types of handlers get run in a different
thread, or are they run out of the mainloop/GMainContext the
g_timeout_add and g_idle_add routines were called in to add them?


  It runs on the main loop. If you block on the idle handler, the UI will not
respond.

Harring.


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250



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