Exporting shared data in C

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Fri Jul 28 12:04:26 CEST 2006

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.

But this is IMHO something to care about later.

> Regards,
> Jannis


More information about the Xfce4-dev mailing list