diff options
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs b/src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs new file mode 100644 index 0000000000..31cd991813 --- /dev/null +++ b/src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs @@ -0,0 +1,12 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace System.Threading +{ + /// <summary>Represents a work item that can be executed by the ThreadPool.</summary> + public interface IThreadPoolWorkItem + { + void Execute(); + } +}
\ No newline at end of file |