diff options
Diffstat (limited to 'ThirdParty/SmartThreadPool/InternalInterfaces.cs')
-rw-r--r-- | ThirdParty/SmartThreadPool/InternalInterfaces.cs | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/ThirdParty/SmartThreadPool/InternalInterfaces.cs b/ThirdParty/SmartThreadPool/InternalInterfaces.cs index 8be7161..0072e10 100644 --- a/ThirdParty/SmartThreadPool/InternalInterfaces.cs +++ b/ThirdParty/SmartThreadPool/InternalInterfaces.cs | |||
@@ -1,27 +1,27 @@ | |||
1 | | 1 | |
2 | namespace Amib.Threading.Internal | 2 | namespace Amib.Threading.Internal |
3 | { | 3 | { |
4 | /// <summary> | 4 | /// <summary> |
5 | /// An internal delegate to call when the WorkItem starts or completes | 5 | /// An internal delegate to call when the WorkItem starts or completes |
6 | /// </summary> | 6 | /// </summary> |
7 | internal delegate void WorkItemStateCallback(WorkItem workItem); | 7 | internal delegate void WorkItemStateCallback(WorkItem workItem); |
8 | 8 | ||
9 | internal interface IInternalWorkItemResult | 9 | internal interface IInternalWorkItemResult |
10 | { | 10 | { |
11 | event WorkItemStateCallback OnWorkItemStarted; | 11 | event WorkItemStateCallback OnWorkItemStarted; |
12 | event WorkItemStateCallback OnWorkItemCompleted; | 12 | event WorkItemStateCallback OnWorkItemCompleted; |
13 | } | 13 | } |
14 | 14 | ||
15 | internal interface IInternalWaitableResult | 15 | internal interface IInternalWaitableResult |
16 | { | 16 | { |
17 | /// <summary> | 17 | /// <summary> |
18 | /// This method is intent for internal use. | 18 | /// This method is intent for internal use. |
19 | /// </summary> | 19 | /// </summary> |
20 | IWorkItemResult GetWorkItemResult(); | 20 | IWorkItemResult GetWorkItemResult(); |
21 | } | 21 | } |
22 | 22 | ||
23 | public interface IHasWorkItemPriority | 23 | public interface IHasWorkItemPriority |
24 | { | 24 | { |
25 | WorkItemPriority WorkItemPriority { get; } | 25 | WorkItemPriority WorkItemPriority { get; } |
26 | } | 26 | } |
27 | } | 27 | } |