Re: Question regarding cairo, freetype and multi-threaded execution.
Joseph Adamski-Smith <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAA_xcYFOnotm0UdunP4QVnbDvu8ucCHXBdUQVnOw1zxKtq8xaQ@mail.gmail.com> |
I was able to reproduce it quite easily in my server environment. I added an infinite loop in af_latin_hints_compute_edges in freetype. Then if cairo_text_extents is called the thread will be stuck in that function. Now if another thread calls cairo_text_extents with different font this new thread will also enter the function and both will be acting on the same hinter. Thanks Joseph -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo