Re: gdk_threads_init? (was Re: IMPORTANT: a big problem with gnome 2)



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]