Author: dick
Date: 2007-11-08 05:46:28 -0500 (Thu, 08 Nov 2007)
New Revision: 89182

Modified:
   trunk/mono/mono/io-layer/ChangeLog
   trunk/mono/mono/io-layer/critical-sections.h
Log:

2007-11-08  Dick Porter  <[EMAIL PROTECTED]>

        * critical-sections.h (EnterCriticalSection): Disable the critical
        section asserts for the release branch




Modified: trunk/mono/mono/io-layer/ChangeLog
===================================================================
--- trunk/mono/mono/io-layer/ChangeLog  2007-11-08 09:59:19 UTC (rev 89181)
+++ trunk/mono/mono/io-layer/ChangeLog  2007-11-08 10:46:28 UTC (rev 89182)
@@ -1,3 +1,8 @@
+2007-11-08  Dick Porter  <[EMAIL PROTECTED]>
+
+       * critical-sections.h (EnterCriticalSection): Disable the critical
+       section asserts for the release branch
+
 2007-11-05  Kornél Pál  <[EMAIL PROTECTED]>
 
        * io-layer.h: Added includes for run-time GetProcessId API detection for

Modified: trunk/mono/mono/io-layer/critical-sections.h
===================================================================
--- trunk/mono/mono/io-layer/critical-sections.h        2007-11-08 09:59:19 UTC 
(rev 89181)
+++ trunk/mono/mono/io-layer/critical-sections.h        2007-11-08 10:46:28 UTC 
(rev 89182)
@@ -34,13 +34,13 @@
 /* These two are perf critical so avoid the wrapper function */
 
 #define EnterCriticalSection(section) do { \
-       int ret = mono_mutex_lock(&(section)->mutex);    \
-    g_assert (ret == 0);    \
+       /*int ret =*/ mono_mutex_lock(&(section)->mutex);       \
+       /*g_assert (ret == 0);*/                         \
 } while (0)
 
 #define LeaveCriticalSection(section) do { \
-       int ret = mono_mutex_unlock(&(section)->mutex);      \
-       g_assert (ret == 0);    \
+       /*int ret =*/ mono_mutex_unlock(&(section)->mutex);     \
+       /*g_assert (ret == 0);*/                             \
 } while (0)
 
 G_END_DECLS

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to