[cairo] Multithreading questions

Thomas Dempton t.dempton at yahoo.com
Tue Jul 6 18:30:05 PDT 2010


Hi,

I would like to use cairo's image backend in a highly scalable multi-threaded 
server-application.

I searched arround for documentation regarding threading, but found not really 
answers to my questions:

- How scalable is Cairo? When is lockning done on which data?

- How do I have to take care of what? May I pass surfaces from one thread to 
another?
Do I have to do some locking by my own?

- Does cairo use per-thread or static datastructures, which need to be taken 
special care?

Thanks you, Thomas



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100706/c95eb8b8/attachment.html>


More information about the cairo mailing list