[cairo] Static caches and thread-safety
Keith Packard
keithp at keithp.com
Thu Nov 11 12:16:18 PST 2004
Around 14 o'clock on Nov 11, Carl Worth wrote:
> But how shall we fix this?
Our experience in xcb was that you can use the pthread locking APIs
directly. On linux, glibc has 'weak' stubs which are used when -lpthread
isn't used by the application. Other systems either appear to include
those APIs in libc directly.
The requirement that I see is that applications needn't tell cairo that
they are using multiple threads, and that the application never get
control while any internal lock is held.
-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/20041111/5b72bd4b/attachment.pgp
More information about the cairo
mailing list