Re: mshtml #2: Make get_typeinfo thread safe.
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
6706
Age (days ago)
6706
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard