Re: MLANG: use Interlocked* in AddRef and Release
14 Sep
2004
14 Sep
'04
10:38 a.m.
On Tue, 14 Sep 2004 18:56:40 +0900, Mike McCormack <mike(a)codeweavers.com> wrote:
ChangeLog: * use Interlocked* functions in AddRef and Release
<snip>
static ULONG WINAPI fnIEnumCodePage_Release( IEnumCodePage* iface) { ICOM_THIS_MULTI(EnumCodePage_impl, vtbl_IEnumCodePage, iface); - ULONG ref = --This->ref; + ULONG ref = InterlockedIncrement(&This->ref);
operator-- changed to InterlockedIncrement instead of InterlockedDecrement. Is that intentional? --Daniel
7762
Age (days ago)
7762
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel Remenak