[cairo] Locking policy

Albert Chin cairo at mlists.thewrittenword.com
Mon Jun 27 11:21:17 PDT 2005

On Sun, Jun 26, 2005 at 09:29:41PM -0700, Keith Packard wrote:
> I added pthread mutexes to lock the various caches in cairo and (not
> unexpectedly) this uncovered some 'issues' related to the locking code
> that is in place.

Does it matter if the system supports POSIX threads or CMA threads
(HP-UX 10.20)?

Also, I just fetched CVS and see you don't link against -lpthread. Are
you assuming libc has pthread? Or, if stub functions exist in libc,
they work correctly? I don't know how portable this idea is.

albert chin (china at thewrittenword.com)

More information about the cairo mailing list