Permalink
Browse files

2009-04-09 Bill Holmes <billholmes54@gmail.com>

	* finalizer-abort.cs, finalizer-exception.cs, finalizer-exit.cs :
	  Adding a sleep to the waiting thread to give Mono on Windows an
	  opportunity to interrupt the thread via QueueUserAPC.

	Contributed under MIT/X11 license.


svn path=/trunk/mono/; revision=131423
  • Loading branch information...
Bill Holmes
Bill Holmes committed Apr 9, 2009
1 parent 862fb70 commit 19ebb84311adc207bcd91312a42c46c2f79670ff
Showing with 11 additions and 0 deletions.
  1. +8 −0 mono/tests/ChangeLog
  2. +1 −0 mono/tests/finalizer-abort.cs
  3. +1 −0 mono/tests/finalizer-exception.cs
  4. +1 −0 mono/tests/finalizer-exit.cs
View
@@ -1,3 +1,11 @@
+2009-04-09 Bill Holmes <billholmes54@gmail.com>
+
+ * finalizer-abort.cs, finalizer-exception.cs, finalizer-exit.cs :
+ Adding a sleep to the waiting thread to give Mono on Windows an
+ opportunity to interrupt the thread via QueueUserAPC.
+
+ Contributed under MIT/X11 license.
+
2009-03-31 Mark Probst <mark.probst@gmail.com>
* critical-finalizers.cs: Test case for critical finalizers.
@@ -36,6 +36,7 @@ public class foo {
while(true) {
foo instance = new foo();
list.Add (new WeakReference(instance));
+ Thread.Sleep (0);
}
return 1;
}
@@ -31,6 +31,7 @@ public class foo {
while(true) {
foo instance = new foo();
list.Add (new WeakReference(instance));
+ Thread.Sleep (0);
}
return 1;
}
@@ -23,6 +23,7 @@ public class foo {
while(true) {
foo instance = new foo();
list.Add (new WeakReference(instance));
+ Thread.Sleep (0);
}
return 1;
}

0 comments on commit 19ebb84

Please sign in to comment.