j
k
j a
j l
Jacek Caban jacek@codeweavers.com writes:
} tl = InterlockedExchangePointer((void**)&typelib, tl); if(tl) ITypeLib_Release(tl);
}
tl = InterlockedExchangePointer((void**)&typelib, tl);
if(tl)
ITypeLib_Release(tl);
That's not thread-safe. You need to use InterlockedCompareExchangePointer.
Back to the thread
Back to the list