aspnetcore/src/Kestrel.Core/Internal/Infrastructure/KestrelThreadPool.cs

15 lines
503 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO.Pipelines;
using System.Threading;
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure
{
public abstract class KestrelThreadPool: Scheduler
{
public abstract void Run(Action action);
public abstract void UnsafeRun(WaitCallback action, object state);
}
}