Re: [Mono-dev] PR #1365: [asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes

2014-10-26 Thread Martin Thwaites
Completely agree Miguel. HttpTaskAsyncHandler is a required class for the webstack to compile (and run I imagine) so any (working) implementation would be useful. Thanks for your help as always Miguel. On 26 Oct 2014 17:24, "Miguel de Icaza" wrote: > I am purely provided some background for int

Re: [Mono-dev] PR #1365: [asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes

2014-10-26 Thread Miguel de Icaza
I am purely provided some background for interested hackers. I stand by the original position that we should do all the minimal changes required to get ASP.NET vnext to build/run, even if it does not deliver the performance/scaling benefits at first. As for the actual patch, I will review once I

Re: [Mono-dev] PR #1365: [asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes

2014-10-26 Thread Martin Thwaites
Thanks Kornel, I've still a few bits of complicated to complete, but I'll feedback as soon as they are done. Martin On 26 October 2014 14:46, Kornel Pal wrote: > Hi, > > I've found this, that fits Miguel's description: > > http://stackoverflow.com/questions/9562836/whats-the-meaning-of-usetas

Re: [Mono-dev] PR #1365: [asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes

2014-10-26 Thread Kornel Pal
Hi, I've found this, that fits Miguel's description: http://stackoverflow.com/questions/9562836/whats-the-meaning-of-usetaskfriendlysynchronizationcontext My PR is is independent of any such changes, and given the API design, I would be surprised if MS implemented some special handling of these

Re: [Mono-dev] PR #1365: [asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes

2014-10-26 Thread Martin Thwaites
Hi Miguel, Does that have implications in regards to this PR? i.e. is it just that it doesn't solve the problem, or that the implementation here is wrong? Thanks, Martin On 26 October 2014 13:46, Miguel de Icaza wrote: > Hello, > > The asynchronous pipeline was discussed in various blogs/inter

Re: [Mono-dev] PR #1365: [asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes

2014-10-26 Thread Miguel de Icaza
Hello, The asynchronous pipeline was discussed in various blogs/interviews. Some switch enables apparently an entirely different flow inside asp.net. The surface changes were minimal, which is why you won't likely find an API. On Sunday, October 26, 2014, Kornel Pal wrote: > Hi, > > Inspired

[Mono-dev] PR #1365: [asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes

2014-10-26 Thread Kornel Pal
Hi, Inspired by the ASP.NET 4.5 Async Pipeline email thread started by Martin Thwaites, I realized that there actually is no new async pipeline in ASP.NET 4.5, it merely provides wrappers around tasks to ease interfacing with the old async pipeline. I've looked around a bit, but found no sui