I found it is definitely unsafe to use a single context with multiple threads. But is it okay to use multiple cairo contexts with the same surface simultaneously?<br><br><div class="gmail_quote">On Sun, May 11, 2008 at 6:54 PM, KwangYul Seo &lt;<a href="mailto:kwangyul.seo@gmail.com">kwangyul.seo@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello.<br><br>Is it possible to use cairo from multiple threads simultaneously? I want to draw an image with multiple threads simultaneously. Those threads divide the surface and only draw their own region. I wonder if I can do this with a single cairo context shared by multiple threads. If it is possible, does it mean that I can gain performance boosts if I use it in multi-core machines?<br>

<br>Thanks,<br>Kwang Yul Seo<br><br>
</blockquote></div><br>