[Fontconfig] mmaping FcInit

Keith Packard keithp at keithp.com
Sun Mar 27 04:49:53 EST 2005

Around 13 o'clock on Mar 26, Lars Knoll wrote:

> Won't font database changes require mmaping the new cache file? In that case 
> you probably need a global refcount for all patterns in the mmaped file, so 
> you know when nothing references the old cache file anymore.

Except for the listing API, this is pretty easy.  I fear that applications 
will hold FcFontList results for lengthy periods though, essentially 
locking down old cache files forever.

We need a better listing API in any case, to permit faster matching, so 
perhaps we can fix both problems at the same time.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20050326/3a0cb72d/attachment.pgp

More information about the Fontconfig mailing list