Author: dick
Date: 2006-05-25 12:12:30 -0400 (Thu, 25 May 2006)
New Revision: 61123

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/mono/mono/metadata/threads.c
Log:

2006-05-25  Dick Porter  <[EMAIL PROTECTED]>

        * threads.c (mono_thread_cleanup): Build fix.  Comment out the
        DeleteCriticalSections until I figure out which one may still be
        sometimes locked when mono_thread_cleanup is called.




Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2006-05-25 16:10:53 UTC (rev 61122)
+++ trunk/mono/mono/metadata/ChangeLog  2006-05-25 16:12:30 UTC (rev 61123)
@@ -1,3 +1,9 @@
+2006-05-25  Dick Porter  <[EMAIL PROTECTED]>
+
+       * threads.c (mono_thread_cleanup): Build fix.  Comment out the
+       DeleteCriticalSections until I figure out which one may still be
+       sometimes locked when mono_thread_cleanup is called.
+
 2006-05-24  Dick Porter  <[EMAIL PROTECTED]>
 
        * threads.c (mono_thread_cleanup): Move the threading cleanup out

Modified: trunk/mono/mono/metadata/threads.c
===================================================================
--- trunk/mono/mono/metadata/threads.c  2006-05-25 16:10:53 UTC (rev 61122)
+++ trunk/mono/mono/metadata/threads.c  2006-05-25 16:12:30 UTC (rev 61123)
@@ -1804,10 +1804,16 @@
        _wapi_thread_signal_self (mono_environment_exitcode_get ());
 #endif
 
+#if 0
+       /* This stuff needs more testing, it seems one of these
+        * critical sections can be locked when mono_thread_cleanup is
+        * called.
+        */
        DeleteCriticalSection (&threads_mutex);
        DeleteCriticalSection (&interlocked_mutex);
        DeleteCriticalSection (&contexts_mutex);
        CloseHandle (background_change_event);
+#endif
 }
 
 void

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

Reply via email to