Re: gdk_threads_init? (was Re: IMPORTANT: a big problem with gnome 2)
- From: George <jirka 5z com>
- To: jacob berkman <jacob ximian com>
- Cc: Owen Taylor <otaylor redhat com>, Darin Adler <darin bentspoon com>, gnome-2-0 <gnome-2-0-list gnome org>, gtk-devel-list gnome org
- Subject: Re: gdk_threads_init? (was Re: IMPORTANT: a big problem with gnome 2)
- Date: Sun, 21 Oct 2001 21:46:10 -0700
On Sun, Oct 21, 2001 at 03:00:31PM -0400, jacob berkman wrote:
> > > > however, i don't really understand the gnome program stuff (does
> > > > anyone?), so there could be a better way of doing it there. or,
> > > > gnome-vfs could do its thread initialization stuff lazily - i don't know
> > > > if this is realistic or not.
> > >
> > > I think that gnome-vfs probably could do its thread initialization lazily.
> > > But that still doesn't guarantee it will happen after gtk_init, does it?
> >
> > While I don't think initializing GNOME really should initialize
> > threading (~10% performance hit from glib and libc overhead)
>
> so it seems that libgnome doesn't even make any gnome-vfs calls (aside
> from gnome_vfs_init()). is the dependency on gnome-vfs somewhere other
> than the .c and configure.in files?
This is mostly because some implementations were not done. It is supposed to
use gnome-vfs for a bunch of things. Especially in libgnomeui, but there's
no time for gnome2.
> libgnomeui does make gnome-vfs calls, and, in gnome-vfs-util.c, async
> ones. however, it's only in one file.
The best would be for gnome-vfs to be able to init lazily completely. Thus
only people who hit any gnome-vfs functionality hit the init.
Any app doing file access should really use gnome-vfs anyway ...
George
--
George <jirka 5z com>
A good memory is needed after one has lied.
-- Pierre Corneille
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]