Re: Multi-threaded GTK+
- From: Soeren Sandmann <sandmann daimi au dk>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-devel-list gnome org
- Subject: Re: Multi-threaded GTK+
- Date: 14 Nov 2001 21:25:06 +0100
Tor Lillqvist <tml iki fi> writes:
> 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?
No, you are right, but what if all gdk_window_new() calls were done by
the main thread?
Søren
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]