Re: gdk_threads_init? (was Re: IMPORTANT: a big problem with gnome 2)
- From: Havoc Pennington <hp redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: Darin Adler <darin bentspoon com>, jacob berkman <jacob ximian com>, gnome-2-0 <gnome-2-0-list gnome org>, Seth Nickell <snickell stanford edu>, gtk-devel-list gnome org
- Subject: Re: gdk_threads_init? (was Re: IMPORTANT: a big problem with gnome 2)
- Date: 21 Oct 2001 20:27:07 -0400
Owen Taylor <otaylor redhat com> writes:
> - Pro: people not threading their GUI don't need to learn the
> GDK thread rules. (With Bonobo and it's reentrancy fun/hell the
> only way to get the thread rules right is to unlock GDK
> around every CORBA call.)
Requiring people to do the GDK lock in unthreaded apps is just
insanity. We can't possibly require GDK locking in all apps that use
gnome-vfs.
> - Con: People actually using GDK threading would start crashing
> misbehaving until they figured out they needed to add
> gdk_threads_init().
Putting the burden on thread-users is the right thing to do.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]