首页 > 解决方案 > .NET Core 2.2 中的 KestrelServerOptions.ApplicationSchedulingMode

问题描述

我对.NET Core 2.2 中的KestrelServerOptions.ApplicationSchedulingMode有疑问

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
}

对于套接字传输,DefaultThreadPool?

对于libuv传输,是否Default意味着使用libuv自己的原生线程?

标签: kestrel-http-server

解决方案


推荐阅读