stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r656629 - /stdcxx/branches/4.2.x/include/rw/_mutex.h
Date Thu, 15 May 2008 12:36:27 GMT
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  <farid_zaripov@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



Mime
View raw message