[cairo] [PATCH V3 3/4] snapshot: fix the race condition. Protect the whole replaying function.

Zhigang Gong zhigang.gong at linux.intel.com
Mon May 28 20:19:34 PDT 2012


V3. Fix one dead-lock for even single thread replaying when use mutex
as rwlock for non-pthread platform. The root cause is the mask and source
may share the same snapshot. And recursive lock to the same mutex in
single thread leads to dead-lock. Add some code to avoid that recursive
lock for the same snapshot for that case.



More information about the cairo mailing list