2 Aug
2007
2 Aug
'07
10:08 a.m.
Jacek Caban <jacek(a)codeweavers.com> writes:
} + + tl = InterlockedExchangePointer((void**)&typelib, tl); + + if(tl) + ITypeLib_Release(tl);
That's not thread-safe. You need to use InterlockedCompareExchangePointer. -- Alexandre Julliard julliard(a)winehq.org