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

Modified:
   branches/mono-1-1-13/mono/mono/metadata/ChangeLog
   branches/mono-1-1-13/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: branches/mono-1-1-13/mono/mono/metadata/ChangeLog
===================================================================
--- branches/mono-1-1-13/mono/mono/metadata/ChangeLog   2006-05-25 16:12:30 UTC 
(rev 61123)
+++ branches/mono-1-1-13/mono/mono/metadata/ChangeLog   2006-05-25 16:12:34 UTC 
(rev 61124)
@@ -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: branches/mono-1-1-13/mono/mono/metadata/threads.c
===================================================================
--- branches/mono-1-1-13/mono/mono/metadata/threads.c   2006-05-25 16:12:30 UTC 
(rev 61123)
+++ branches/mono-1-1-13/mono/mono/metadata/threads.c   2006-05-25 16:12:34 UTC 
(rev 61124)
@@ -1834,10 +1834,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