Re: [java-gnome-hackers] Cairo threading
Brought to you by:
afcowie
From: Behdad E. <be...@be...> - 2008-06-19 15:29:30
|
On Thu, 2008-06-19 at 18:22 +1000, Andrew Cowie wrote: > > [1]: following the hypothesis that such a things are actually allowed > in Cairo. It certainly isn't with gdk-pixbuf but that's a different > library and GDK has clear rules about this stuff. See also > http://bugzilla.gnome.org/show_bug.cgi?id=534573 Cairo's MT-safe as long you don't use/modify the same cairo_t, cairo_surface_t, cairo_pattern_t, or cairo_font_options_t concurrently from multiple threads . That is, the font objects that are reasonably shared are MT-safe, the rest are not. -- behdad http://behdad.org/ "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin, 1759 |