Re: olepicture: ref count cleanup
17 Sep
2004
17 Sep
'04
9:42 p.m.
James Hawkins <truiken(a)gmail.com> writes:
Changelog * Use InterlockedDecrement and InterlockedIncrement instead of ++/--.
When making these changes please fix the rest of the function too, any place that uses This->ref directly is broken, it should use the return value of the Interlocked call instead. Otherwise there's no point in making the changes since it still won't be thread-safe. -- Alexandre Julliard julliard(a)winehq.org
7847
Age (days ago)
7847
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard