Re: Multi-threaded GTK+



Soeren Sandmann writes:
 > So, what about
 > 
 >         g_idle_add (VERY_HIGH_PRIORITY, do_window_procedure());
 >         g_main_iteration();

I don't see how that (or something like it) would help. Or do you mean
that each thread would automatically have some function added with
g_idle_add, that would check for messages for *that* thread? But an
app-created thread doesn't necessarily run any event loop, so when
would that function get called?

--tml




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