[Mono-dev] HttpListener

Andres G. Aragoneses knocte at gmail.com
Thu Dec 6 01:43:41 UTC 2012


Hey Rodrigo, by looking at 
https://github.com/mono/mono/commit/04c641a21c2ba92c3262948ed1b68eb22c643b11 
as you point out, it would make sense to find the call to 
GetContextFromQueue() inside the lock, but maybe ares.Complete() can be 
outside for better performance? (And then inside again when adding it to 
the wait_queue again.) Which is maybe what Greg meant.

On 05/12/12 14:05, Rodrigo Kumpera wrote:
> Did you look at the git history for those changes to see why those
> changes have been made?
>
> 04c641a21c2ba92c3262948ed1b68eb22c643b11 seens relevant.
>
>
> On Wed, Dec 5, 2012 at 8:52 AM, Greg Young <gregoryyoung1 at gmail.com
> <mailto:gregoryyoung1 at gmail.com>> wrote:
>
>     CheckDisposed ();
>     if (!listening)
>     throw new InvalidOperationException ("Please, call Start before
>     using this method.");
>
>     ListenerAsyn
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list