Re: MLANG: use Interlocked* in AddRef and Release
Sept. 14, 2004
3:38 p.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
7953
Age (days ago)
7953
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel Remenak