[cairo] [PATCH] Do not hold mutexes when calling destructors.

Jeff Muizelaar jeff at infidigm.net
Thu May 15 12:15:26 PDT 2008

On Tue, May 13, 2008 at 12:25:18PM -0400, Behdad Esfahbod wrote:
> On Tue, 2008-05-13 at 11:29 -0400, Jeff Muizelaar wrote:
> > 
> > Perhaps. Is there an advantage to clearing the whole cache atomically?
> > If not, I don't really see what making a copy buys us.
> Doing only two mutex operations instead of 32...

The function is only ever called by cairo_debug_reset_static_data() so
performance doesn't matter at all.


More information about the cairo mailing list