Fix multiple async accepts
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 8 Mar 2012 19:30:04 +0000 (14:30 -0500)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 8 Mar 2012 19:32:49 +0000 (14:32 -0500)
commit70c64f12c3b351847a1c810ff940cccd0623224d
tree19ae991c74f2fe5c1f3b1170255f9fa7702197e3
parent02b1ec7da97f60b3b25304c24aef280d8f6975b7
Fix multiple async accepts

Running multiple BeginAccepts or AcceptAsync at the same time on the
same socket requires serialization.
Fixes bug #3805.
mcs/class/System/System.Net.Sockets/Socket.cs
mcs/class/System/System.Net.Sockets/Socket_2_1.cs