> -----Original Message----- > From: Scott Zhong [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 12, 2008 10:24 PM > To: [email protected] > Subject: [PATCH] STDCXX-563 > > Split _mutex.h into > > _mutex-aix.h > _mutex-deccxx.h > _mutex.h > _mutex-i386gcc.h > _mutex-ia64-x86-64.h > _mutex-parisc.h > _mutex-sgi.h > _mutex-sparc.h > > http://www.fileden.com/files/2008/1/30/1729926/patch.stdcxx-563.tar >
I've reviewed this patch and it's looks good for me. The only thing I would like to do is move _InterlockedXXX() declarations from _mutex.h to _mutex-i386gcc.h and _mutex-ia64-x86-64.h and use __rw_atomic_preincrement() in __rw_get_static_mutex() instead of using _InterlockedIncrement() on WIN32 and usual increment on the other platforms. But this changes can be applied later in the separated patch. Farid.
