mmaping FcInit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-keith


-------------- 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

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux