Invoke the callback in separate threads
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 30 Sep 2010 05:41:22 +0000 (01:41 -0400)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 30 Sep 2010 05:52:31 +0000 (01:52 -0400)
commit50a295ac1becc5c0927917644a1b246b4c8e945b
tree7516d5a64faf87a4edecf4496d3d21caa2a29d4e
parent1443252b1cdac3f508388a46bf70612e07aad684
Invoke the callback in separate threads

The callbacks need to be invoked in different threads to avoid clogging
the IO pool.

Fixes bug #639656.
mcs/class/System/System.Net.Sockets/Socket_2_1.cs
mcs/class/System/System.Net/WebAsyncResult.cs