[cairo] [PATCH] Do not hold mutexes when calling destructors.
Behdad Esfahbod
behdad at behdad.org
Sat May 24 18:22:53 PDT 2008
On Tue, 2008-05-13 at 12:25 -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...
Pushed your patch as is. It was important to have the fontmap in a
valid state, so the alternate approach didn't work.
--
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
More information about the cairo
mailing list