Re: performance issue questions
Keith Packard <[email protected]>
| Newsgroups | gmane.comp.fonts.fontconfig |
|---|---|
| Message-ID | <[email protected]> |
Akira TAGOH <[email protected]> writes: > fc-cache might be multi-threading but I'm not sure if writing caches is the > thread-safety nor worth doing so. and if we do, doing it as a single > process like demonizing may be better, to avoid complication. We might as well just stop attempting to automatically manage the caches and require that users run fc-cache manually whenever they change the set of installed fonts. That would push the whole problem out of fontconfig and onto the user or distribution... Although, I wonder if doing some per-directory locking while scanning might not help with this; essentially have one process hold a lock on the directory while scanning and make other processes wait for the lock to go away (with a timeout). -- -keith _______________________________________________ Fontconfig mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/fontconfig
signature.asc
(application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAlg76UgACgkQ2yIaaQAA ABGwzhAAt+Hd2dVDFZoHaVMWRbjm9XwawEDeLBf63PknD6qN5hLVo1Zbn5RxItm2 9LCi67ntHkNwU/aRkbKQs5zAinOWFojiVG6yAZ93kqyYFliSrceY0JfXn2xVSSm/ nLU/SGASwsAvAHS4QJc2+QYKJXLkLRpcEQCyM5doriYaGxqLz8QYfrnPQIspY16W LpakNLv2/kVOVlOrmEjB8n0Lx5HS04tFYzjiSEK73dWfYeZ38HweqJ7VKfDKNw6Y 25hzAUIc/pC6RFh0csjc0EU92FgRfuvfR0pmjSTEzF7OqP61C4VcoWSwslgbyKgR 4eFTD+D6bIyHXX/mQaC++g+QwhC8lS6lt6+fNy1mbaP8RnzEyRWHtMMZpjQvR0zE bAzsQ3l9OVB2SARwnjK6/xScvXiDEJWcJnnQ+n+DlzJzSCeBe5S6QMLy1bxLSptK rCJxdmzzRivQdN9Oe0e59lc01/A+Gz8NmLdtAjfp5EL5/3dYr04EGJR0888CcZWk 0nFoaxFGOJzI8v8quVTSvx3EFK3ZcavnifXSREUSonXoNGZyeoeCFlJ57mE7PBll AagtkuvAPn3wGx0FSIQCfuMAQGiM1MPT/ac1s/jzZe28e/5fr+w7Xf477wpOJ23z GaT/FlkD3x2WFYfhRQtEv6jWLHEHQfBbcFP83WV9IX6TIxeJORQ= =7DtT -----END PGP SIGNATURE-----