Re: handlers for g_timeout_add and g_idle_add different threads?
- From: Harring Figueiredo <harringf yahoo com>
- To: Hubert Sokolowski <h sokolowski wsisiz edu pl>, Al Hooton <al hootons org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: handlers for g_timeout_add and g_idle_add different threads?
- Date: Tue, 7 Dec 2004 05:07:29 -0800 (PST)
--- 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]