4 types derived from PipeScheduler
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
System.IO.Pipelines (2)
204 references to PipeScheduler
ClientSample (6)
InMemory.FunctionalTests (24)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (10)
363public static PipeOptions GetInputPipeOptions(ServiceContext serviceContext, MemoryPool<byte> memoryPool, PipeScheduler writerScheduler) => new PipeOptions
374public static PipeOptions GetOutputPipeOptions(ServiceContext serviceContext, MemoryPool<byte> memoryPool, PipeScheduler readerScheduler) => new PipeOptions
398internal ValueTask<Http3ControlStream> CreateControlStream(PipeScheduler clientWriterScheduler = null)
403internal async ValueTask<Http3ControlStream> CreateControlStream(int? id, PipeScheduler clientWriterScheduler = null)
420Http3RequestHeaderHandler headerHandler = null, bool endStream = false, TaskCompletionSource tsc = null, PipeScheduler clientWriterScheduler = null)
442bool endStream = false, TaskCompletionSource tsc = null, PipeScheduler clientWriterScheduler = null)
460private Http3RequestStream CreateRequestStreamCore(Http3RequestHeaderHandler headerHandler, PipeScheduler clientWriterScheduler)
1126public void Initialize(long streamId, PipeScheduler clientWriterScheduler = null)
1138var inputOptions = Http3InMemory.GetInputPipeOptions(_testBase._serviceContext, _testBase._memoryPool, clientWriterScheduler ?? PipeScheduler.ThreadPool);
1139var outputOptions = Http3InMemory.GetOutputPipeOptions(_testBase._serviceContext, _testBase._memoryPool, PipeScheduler.ThreadPool);
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Http.Connections.Client (4)
Microsoft.AspNetCore.Http.Connections.Tests (2)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (39)
Http1\Http1OutputProducerTests.cs (14)
39readerScheduler: Mock.Of<PipeScheduler>(),
40writerScheduler: PipeScheduler.Inline,
64readerScheduler: Mock.Of<PipeScheduler>(),
65writerScheduler: PipeScheduler.Inline,
92readerScheduler: Mock.Of<PipeScheduler>(),
93writerScheduler: PipeScheduler.Inline,
146readerScheduler: Mock.Of<PipeScheduler>(),
147writerScheduler: PipeScheduler.Inline,
166readerScheduler: Mock.Of<PipeScheduler>(),
167writerScheduler: PipeScheduler.Inline,
186readerScheduler: Mock.Of<PipeScheduler>(),
187writerScheduler: PipeScheduler.Inline,
208readerScheduler: Mock.Of<PipeScheduler>(),
209writerScheduler: PipeScheduler.Inline,
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (45)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (10)
363public static PipeOptions GetInputPipeOptions(ServiceContext serviceContext, MemoryPool<byte> memoryPool, PipeScheduler writerScheduler) => new PipeOptions
374public static PipeOptions GetOutputPipeOptions(ServiceContext serviceContext, MemoryPool<byte> memoryPool, PipeScheduler readerScheduler) => new PipeOptions
398internal ValueTask<Http3ControlStream> CreateControlStream(PipeScheduler clientWriterScheduler = null)
403internal async ValueTask<Http3ControlStream> CreateControlStream(int? id, PipeScheduler clientWriterScheduler = null)
420Http3RequestHeaderHandler headerHandler = null, bool endStream = false, TaskCompletionSource tsc = null, PipeScheduler clientWriterScheduler = null)
442bool endStream = false, TaskCompletionSource tsc = null, PipeScheduler clientWriterScheduler = null)
460private Http3RequestStream CreateRequestStreamCore(Http3RequestHeaderHandler headerHandler, PipeScheduler clientWriterScheduler)
1126public void Initialize(long streamId, PipeScheduler clientWriterScheduler = null)
1138var inputOptions = Http3InMemory.GetInputPipeOptions(_testBase._serviceContext, _testBase._memoryPool, clientWriterScheduler ?? PipeScheduler.ThreadPool);
1139var outputOptions = Http3InMemory.GetOutputPipeOptions(_testBase._serviceContext, _testBase._memoryPool, PipeScheduler.ThreadPool);
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (4)
Internal\NamedPipeConnectionListener.cs (4)
57_inputOptions = new PipeOptions(_memoryPool, PipeScheduler.ThreadPool, PipeScheduler.Inline, maxReadBufferSize, maxReadBufferSize / 2, useSynchronizationContext: false);
58_outputOptions = new PipeOptions(_memoryPool, PipeScheduler.Inline, PipeScheduler.ThreadPool, maxWriteBufferSize, maxWriteBufferSize / 2, useSynchronizationContext: false);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicStreamContext.cs (4)
60var inputOptions = new PipeOptions(MemoryPool, PipeScheduler.ThreadPool, PipeScheduler.Inline, maxReadBufferSize, maxReadBufferSize / 2, useSynchronizationContext: false);
61var outputOptions = new PipeOptions(MemoryPool, PipeScheduler.Inline, PipeScheduler.ThreadPool, maxWriteBufferSize, maxWriteBufferSize / 2, useSynchronizationContext: false);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (25)
Microsoft.AspNetCore.SignalR.Client.Tests (4)
Microsoft.AspNetCore.SignalR.Specification.Tests (2)
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
System.IO.Pipelines (23)