[cairo] Static caches and thread-safety

Keith Packard keithp at keithp.com
Fri Nov 12 11:03:59 PST 2004


Around 11 o'clock on Nov 12, Carl Worth wrote:

> Thanks for the good writeup. I think this makes it pretty clear that we
> can just put an initial pthreads-based cairo_mutex.c in place and let the
> people with bizarre systems figure out the right way to make it work.

That's what I'd like to see.  I think our needs are very limited, which 
should make it possible to support them on any system which has threading 
of any kind.

Giving up global storage just because locking is 'hard' seems like a bad 
idea.

-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/cairo/attachments/20041112/5b11361b/attachment.pgp


More information about the cairo mailing list