[System] Fixed SafeSocketHandle concurrency problem.
commit9ae88709dbd3d3ed77e1a6ed3d3493ec14f991fc
authorMarcos Henrich <marcos.henrich@xamarin.com>
Tue, 17 Mar 2015 12:49:11 +0000 (17 12:49 +0000)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Tue, 17 Mar 2015 15:13:09 +0000 (17 15:13 +0000)
tree77c2a3d3494ed6f4c12f323f747031ed461506ad
parent29dc0ae19453aabfc7c92cc3242a2fcf27fb0c00
[System] Fixed SafeSocketHandle concurrency problem.
When ReleaseHandle was called by RegisterForBlockingSyscall's DangerousRelease the current thread would be in blocking_threads but there would be no blocking system call to interrupt.
mcs/class/System/System.Net.Sockets/SafeSocketHandle.cs