Exporting shared data in C
Jannis Pohlmann
info at sten-net.de
Fri Jul 28 12:15:31 CEST 2006
On Fri, 28 Jul 2006 12:04:26 +0200, Benedikt Meurer wrote:
> Jannis Pohlmann wrote:
> >>What do you mean by "clients"? Do you mean apps running in
> >>different processes? If so, there isn't really any good way of
> >>doing this, aside from using sysv shared memory, or the X servers
> >>Xshm extension, or something like that. Not sure why you need to
> >>do this...
> >
> > Yes, apps using libfrapmenu. I thought probably would make sense
> > because there are a lot of desktop entries kept in memory and also
> > the whole root menu structure is kept after merging. I hoped that
> > there is a possibility for all apps to access the same data (which
> > would then need to be protected). But if there isn't, I'll just
> > leave it as is.
>
> The desktop database should be cached in a db (i.e. tdb, which Thunar
> uses, is pretty fast). The menu structure should not be cached, but
> instead the parsing/merging should be optimized later.
Ah, tdb looks like it should be easy to adapt later. So I'll work on
loading the desktop entries etc. first and will look into caching
afterwards. Thanks for the hint.
Regards,
Jannis
More information about the Xfce4-dev
mailing list