cairo_t thread safety
"Baldeva, Arpit" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <6704c2365ca9461cac1e8927b410f542@BLUPR07MB434.namprd07.prod.outlook.com> |
Hi, Is cairo+pixman threadsafe with respect to each individual cairo context even if I compile cairo with CAIRO_NO_MUTEX? I mean I can ensure that multiple threads are not calling cairo API for the same cairo_t concurrently. However, I'd like to concurrently call different cairo APIs on different cairo_t. Is this supported? My use case will be to divide a large surface into smaller segments. So instead of one cairo_t, I end up with say 4 cairo_t. Then, paint those 4 cairo_t from individual threads in parallel. Appreciate any responses. --Arpit -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo