[PATCH] Potential reference count races
max at mtew.isa-geek.net
max at mtew.isa-geek.net
Sat Oct 27 20:59:17 CDT 2012
From: Max TenEyck Woodbury <max at mtew.isa-geek.net>
I have been looking at the Microsoft COM and related documentations
and noticed that they emphatically recomend using the Interlocked...
functions when manipulating reference counts. I managed to set up a
search that showed where many of the reference count updates occur and
was somewhat surprised at how often this advice was not followed.
While I have not converted every reference count update to use the
Interlocked... functions, this set of patches fixes a fair number of
them.
These are not associated with any particular bug report; they are simply
a general precausion against operations that are known to be associated
with race conditions.
The patches are independent of each other. They are NOT a series.
--
1.7.7.6
More information about the wine-patches
mailing list