Re: Multi-threaded GTK+
- From: Havoc Pennington <hp redhat com>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-devel-list gnome org
- Subject: Re: Multi-threaded GTK+
- Date: 06 Nov 2001 09:35:31 -0500
Tor Lillqvist <tml iki fi> writes:
> How well is multi-threaded GTK+ supposed to work? Are there real
> applications (that might otherwise be useful and portable to Win32)
> that do GDK operations on the same windows from different threads?
For 1.2 at least it does work pretty well. The Red Hat installer found
a bunch of bugs in it at first and now it's fixed up. I don't know of
many apps you could test with though, in fact I can't think of any
except the installer. Maybe ask on gtk-list if anyone is writing
one. ;-)
> Would it be a big drawback if, for instance, we would document that in
> multi-threaded GTK+ programs expected to run on Win32, all GTK+ calls
> should be made in one thread (using gtk_idle_add() or similar if
> necessary).
I think it should be considered a misfeature that needs fixing, yes.
But better to document it than just leave people to find out.
(There's a "win32" section in the reference manual I think, should add
win32-specific notes in there.)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]