Kestrel http server .NET Core 2.2中的KestrelServerOptions.Applications调度模式
我有一个关于.NETCore2.2的问题Kestrel http server .NET Core 2.2中的KestrelServerOptions.Applications调度模式,kestrel-http-server,Kestrel Http Server,我有一个关于.NETCore2.2的问题 public class KestrelServerOptions { public SchedulingMode ApplicationSchedulingMode { get; set; } } public enum SchedulingMode { // Use the transport provided ApplicationScheduler Default, // Use the thread pool
public class KestrelServerOptions
{
public SchedulingMode ApplicationSchedulingMode { get; set; }
}
public enum SchedulingMode
{
// Use the transport provided ApplicationScheduler
Default,
// Use the thread pool
ThreadPool,
// Run on the "current" thread
Inline
}
对于套接字传输,Default
是否与ThreadPool
相同
对于libuv传输,Default
是否意味着使用libuv自己的本机线程