Remove spinning for blocked socket ops

As per https://github.com/dotnet/corefx/pull/5655
This commit is contained in:
Ben Adams 2016-01-24 14:49:25 +00:00
parent b062f851dc
commit 3f414782b9
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Http
private readonly MemoryPool2 _memory;
private readonly IThreadPool _threadPool;
private readonly ManualResetEventSlim _manualResetEvent = new ManualResetEventSlim(false);
private readonly ManualResetEventSlim _manualResetEvent = new ManualResetEventSlim(false, 0);
private Action _awaitableState;
private Exception _awaitableError;