Re: Multi-threaded GTK+
- From: Tor Lillqvist <tml iki fi>
- To: Soeren Sandmann <sandmann daimi au dk>
- Cc: gtk-devel-list gnome org, gimpwin-dev yahoogroups com
- Subject: Re: Multi-threaded GTK+
- Date: Thu, 8 Nov 2001 17:28:00 +0200 (FLE Standard Time)
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]