[Mono-dev] [PATCH] Windows runtime tests hung.

Rodrigo Kumpera kumpera at gmail.com
Wed Apr 1 10:33:54 EDT 2009


This is only a hack around the fact the we don't support proper interruption
on windows.


2009/4/1 Bill Holmes <billholmes54 at gmail.com>

> 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.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090401/35c8bce7/attachment.html 


More information about the Mono-devel-list mailing list