Author: lluis
Date: 2005-05-01 08:20:36 -0400 (Sun, 01 May 2005)
New Revision: 43838

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/mono/mono/metadata/gc.c
Log:
2005-05-01  Lluis Sanchez Gual  <[EMAIL PROTECTED]>

        * gc.c: In mono_gc_cleanup(), wait for 2 seconds, not 2000 seconds.



Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2005-05-01 12:14:22 UTC (rev 43837)
+++ trunk/mono/mono/metadata/ChangeLog  2005-05-01 12:20:36 UTC (rev 43838)
@@ -1,3 +1,7 @@
+2005-05-01  Lluis Sanchez Gual  <[EMAIL PROTECTED]>
+
+       * gc.c: In mono_gc_cleanup(), wait for 2 seconds, not 2000 seconds.
+
 2005-04-30  Lluis Sanchez Gual  <[EMAIL PROTECTED]>
 
        * threads.c: In mono_thread_suspend_all_other_threads, if a thread

Modified: trunk/mono/mono/metadata/gc.c
===================================================================
--- trunk/mono/mono/metadata/gc.c       2005-05-01 12:14:22 UTC (rev 43837)
+++ trunk/mono/mono/metadata/gc.c       2005-05-01 12:20:36 UTC (rev 43838)
@@ -811,7 +811,7 @@
                        finalize_notify ();
                        /* Finishing the finalizer thread, so wait a little 
bit... */
                        /* MS seems to wait for about 2 seconds */
-                       if (WaitForSingleObjectEx (shutdown_event, 2000000, 
FALSE) == WAIT_TIMEOUT) {
+                       if (WaitForSingleObjectEx (shutdown_event, 2000, FALSE) 
== WAIT_TIMEOUT) {
                                mono_thread_stop (gc_thread);
                        }
                }

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

Reply via email to