Remove spinning for blocked socket ops
As per https://github.com/dotnet/corefx/pull/5655
This commit is contained in:
parent
b062f851dc
commit
3f414782b9
|
|
@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Http
|
||||||
|
|
||||||
private readonly MemoryPool2 _memory;
|
private readonly MemoryPool2 _memory;
|
||||||
private readonly IThreadPool _threadPool;
|
private readonly IThreadPool _threadPool;
|
||||||
private readonly ManualResetEventSlim _manualResetEvent = new ManualResetEventSlim(false);
|
private readonly ManualResetEventSlim _manualResetEvent = new ManualResetEventSlim(false, 0);
|
||||||
|
|
||||||
private Action _awaitableState;
|
private Action _awaitableState;
|
||||||
private Exception _awaitableError;
|
private Exception _awaitableError;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue