Changed files to use interlocked functions

Mike McCormack mike at
Tue Jan 4 08:08:25 CST 2005

Paul Vriens wrote:

> Are there AddRef's or Releases that don't need the modification? Or is it
> OK to modify all of them?

I think it should be safe to do all of them.  InterlockedIncrement is 
inline, so it shouldn't have any performance penalty.

It may not strictly be necessary for objects in single threaded 
apartments, but at least nobody will copy thread unsafe code into an 
object that lives in a multi threaded apartment.

> What's the best way to generate mail/patches for this bulk. One email for
> each file/dll? Inline or attached?

I'd do one per dll.


More information about the wine-devel mailing list