[Mono-dev] [PATCH] TcpChannel hang on Windows.

Rodrigo Kumpera kumpera at gmail.com
Fri Dec 19 14:43:40 EST 2008

An APC call can't execute managed code for reasons very similar to doing
from a signal handler.

On Fri, Dec 19, 2008 at 5:36 PM, Bill Holmes <billholmes54 at gmail.com> wrote:

> Kornél,
> After reading your mail a bunch more times and messing with the sample
> I think I finally get what you were saying.
> What I discovered was that the APC callback being a managed method
> gives mono a chance to check the thread state when crossing to and
> from the managed thread boundary.  It is not the fact that you called
> an APC that was important.  What is important is that the APC was a
> managed call.
> This does in fact give me some ideas on new things to try.  I will let
> you know what I find.  I suspect that my new conclusion will be a
> risky change that will require much testing.
> -bill
> _______________________________________________
> 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/20081219/76e62a2e/attachment-0001.html 

More information about the Mono-devel-list mailing list