You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2008/05/15 14:36:27 UTC
svn commit: r656629 - /stdcxx/branches/4.2.x/include/rw/_mutex.h
Author: faridz
Date: Thu May 15 05:36:26 2008
New Revision: 656629
URL: http://svn.apache.org/viewvc?rev=656629&view=rev
Log:
2008-05-15 Farid Zaripov <fa...@epam.com>
* include/rw/_mutex.h: Set size of __rw_critical_section equal to 40 on _WIN64.
Modified:
stdcxx/branches/4.2.x/include/rw/_mutex.h
Modified: stdcxx/branches/4.2.x/include/rw/_mutex.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_mutex.h?rev=656629&r1=656628&r2=656629&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_mutex.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_mutex.h Thu May 15 05:36:26 2008
@@ -156,7 +156,12 @@
// fake critical section type
union __rw_critical_section {
long _C_pad; // force alignment
+
+# ifndef _WIN64
char _C_buf [24 /* == sizeof (_RTL_CRITICAL_SECTION) */];
+# else // #ifdef _WIN64
+ char _C_buf [40 /* == sizeof (_RTL_CRITICAL_SECTION) */];
+# endif // _WIN64
};
# define _RWSTD_MUTEX_T _RW::__rw_critical_section