31 implementations of IThreadPoolWorkItem
Interop.FunctionalTests (1)
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
16internal sealed class PinnedBlockMemoryPool : MemoryPool<byte>, IThreadPoolWorkItem
Microsoft.AspNetCore.Server.HttpSys (3)
MessagePump.cs (1)
280private sealed class AcceptLoop : IThreadPoolWorkItem
RequestProcessing\RequestContext.cs (1)
16internal partial class RequestContext : NativeRequestContext, IThreadPoolWorkItem
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
16internal sealed class PinnedBlockMemoryPool : MemoryPool<byte>, IThreadPoolWorkItem
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.cs (1)
31internal abstract partial class IISHttpContext : NativeRequestContext, IThreadPoolWorkItem, IDisposable
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
16internal sealed class PinnedBlockMemoryPool : MemoryPool<byte>, IThreadPoolWorkItem
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http2\Http2Stream.cs (1)
31internal abstract partial class Http2Stream : HttpProtocol, IThreadPoolWorkItem, IDisposable, IPooledStream
Internal\Http3\Http3ControlStream.cs (1)
17internal abstract class Http3ControlStream : IHttp3Stream, IThreadPoolWorkItem
Internal\Http3\Http3Stream.cs (1)
27internal abstract partial class Http3Stream : HttpProtocol, IHttp3Stream, IHttpStreamHeadersHandler, IThreadPoolWorkItem
Internal\Infrastructure\KestrelConnectionOfT.cs (1)
11internal sealed class KestrelConnection<T> : KestrelConnection, IThreadPoolWorkItem where T : BaseConnectionContext
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
16internal sealed class PinnedBlockMemoryPool : MemoryPool<byte>, IThreadPoolWorkItem
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\Transport.Sockets\src\Internal\IOQueue.cs (1)
11internal sealed class IOQueue : PipeScheduler, IThreadPoolWorkItem
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
16internal sealed class PinnedBlockMemoryPool : MemoryPool<byte>, IThreadPoolWorkItem
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
16internal sealed class PinnedBlockMemoryPool : MemoryPool<byte>, IThreadPoolWorkItem
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\IOQueue.cs (1)
11internal sealed class IOQueue : PipeScheduler, IThreadPoolWorkItem
System.Net.Sockets (4)
System\Net\Sockets\SocketAsyncContext.Unix.cs (3)
111private abstract class AsyncOperation : IThreadPoolWorkItem 336private abstract class ReadOperation : AsyncOperation, IThreadPoolWorkItem 343private abstract class WriteOperation : AsyncOperation, IThreadPoolWorkItem
System\Net\Sockets\SocketAsyncEngine.Unix.cs (1)
13internal sealed unsafe class SocketAsyncEngine : IThreadPoolWorkItem
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.ThreadPoolValueTaskSource.cs (1)
30internal sealed class ThreadPoolValueTaskSource : IThreadPoolWorkItem, IValueTaskSource<int>, IValueTaskSource<long>, IValueTaskSource
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (1)
282IValueTaskSource<TResult>, IValueTaskSource, IAsyncStateMachineBox, IThreadPoolWorkItem
src\libraries\System.Private.CoreLib\src\System\Threading\CompleteWaitThreadPoolWorkItem.cs (1)
11internal sealed partial class CompleteWaitThreadPoolWorkItem : IThreadPoolWorkItem
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (1)
13internal sealed partial class CompleteWaitThreadPoolWorkItem : IThreadPoolWorkItem
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
483private sealed class SchedulerWorkItem : IThreadPoolWorkItem
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
7204internal sealed class CompletionActionInvoker : IThreadPoolWorkItem
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (1)
520internal class AwaitTaskContinuation : TaskContinuation, IThreadPoolWorkItem
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1226internal abstract class QueueUserWorkItemCallbackBase : IThreadPoolWorkItem
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
442internal sealed class TimerQueueTimer : ITimer, IThreadPoolWorkItem
src\libraries\System.Private.CoreLib\src\System\Threading\TimerQueue.Portable.cs (1)
12internal sealed partial class TimerQueue : IThreadPoolWorkItem
System.Threading.Channels (1)
System\Threading\Channels\AsyncOperation.netcoreapp.cs (1)
6internal partial class AsyncOperation : IThreadPoolWorkItem
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.ForEachAsync.cs (1)
506private abstract class ForEachAsyncState<TSource> : TaskCompletionSource, IThreadPoolWorkItem
32 references to IThreadPoolWorkItem
Interop.FunctionalTests (1)
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
161void IThreadPoolWorkItem.Execute()
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
161void IThreadPoolWorkItem.Execute()
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
161void IThreadPoolWorkItem.Execute()
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\KestrelConnectionOfT.cs (1)
36void IThreadPoolWorkItem.Execute()
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
161void IThreadPoolWorkItem.Execute()
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\Transport.Sockets\src\Internal\IOQueue.cs (1)
30void IThreadPoolWorkItem.Execute()
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
161void IThreadPoolWorkItem.Execute()
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
161void IThreadPoolWorkItem.Execute()
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\IOQueue.cs (1)
30void IThreadPoolWorkItem.Execute()
System.Net.Sockets (5)
System\Net\Sockets\SocketAsyncContext.Unix.cs (4)
291public void Process() => ((IThreadPoolWorkItem)this).Execute(); 293void IThreadPoolWorkItem.Execute() 340void IThreadPoolWorkItem.Execute() => AssociatedContext.ProcessAsyncReadOperation(this); 347void IThreadPoolWorkItem.Execute() => AssociatedContext.ProcessAsyncWriteOperation(this);
System\Net\Sockets\SocketAsyncEngine.Unix.cs (1)
251void IThreadPoolWorkItem.Execute()
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.ThreadPoolValueTaskSource.cs (1)
153void IThreadPoolWorkItem.Execute()
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (1)
399void IThreadPoolWorkItem.Execute() => MoveNext();
src\libraries\System.Private.CoreLib\src\System\Threading\CompleteWaitThreadPoolWorkItem.cs (1)
13void IThreadPoolWorkItem.Execute() => PortableThreadPool.CompleteWait(_registeredWaitHandle, _timedOut);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (2)
350IThreadPoolWorkItem workItem = m_threadPoolWorkItem ??= new SchedulerWorkItem(this); 489void IThreadPoolWorkItem.Execute()
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
7215void IThreadPoolWorkItem.Execute()
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (1)
620void IThreadPoolWorkItem.Execute()
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (6)
574Debug.Assert((callback is IThreadPoolWorkItem) ^ (callback is Task)); 643Debug.Assert((workItem is IThreadPoolWorkItem) ^ (workItem is Task)); 1054Debug.Assert(workItem is IThreadPoolWorkItem); 1057Unsafe.As<IThreadPoolWorkItem>(workItem).Execute(); 1670public static bool UnsafeQueueUserWorkItem(IThreadPoolWorkItem callBack, bool preferLocal) 1689internal static void UnsafeQueueHighPriorityWorkItemInternal(IThreadPoolWorkItem callBack) =>
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
661void IThreadPoolWorkItem.Execute() => Fire(isThreadPool: true);
src\libraries\System.Private.CoreLib\src\System\Threading\TimerQueue.Portable.cs (1)
140void IThreadPoolWorkItem.Execute() => FireNextTimers();
System.Threading.Channels (1)
System\Threading\Channels\AsyncOperation.netcoreapp.cs (1)
8void IThreadPoolWorkItem.Execute() => SetCompletionAndInvokeContinuation();
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.ForEachAsync.cs (1)
669void IThreadPoolWorkItem.Execute()
System.Threading.ThreadPool (1)
artifacts\obj\System.Threading.ThreadPool\Debug\net11.0\System.Threading.ThreadPool.Forwards.cs (1)
3[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.IThreadPoolWorkItem))]