[Mono-dev] [PATCH] Windows runtime tests hung.
Bill Holmes
billholmes54 at gmail.com
Wed Apr 1 10:06:36 EDT 2009
Hi,
On Windows some of the runtime tests are not completing since r127661
(I believe.) The attached patch is a workaround for the affected
tests.
On Windows we rely on QueueUserAPC to increment
thread_interruption_requested. The way the tests are currently
written there is no opportunity to execute the APC. Adding a sleep
provides that opportunity.
-bill
2009-04-01 Bill Holmes <billholmes54 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: runtime_test.patch
Type: application/octet-stream
Size: 1757 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090401/ecf70496/attachment-0001.obj
More information about the Mono-devel-list
mailing list