| Table of Contents
|
public abstract interface IDispatchHost
| Visibility | Description |
|---|---|
| Public | PendingWorkItemCount Number of items that are waiting to be dispatched. |
| Public | MinThreadCount Minimum number of threads used by the dispatch host. |
| Public | MaxThreadCount Maximum number of threads used by the dispatch host. |
| Public | ThreadCount Current number of threads used by the dispatch host. |
| Visibility | Description |
|---|---|
| Public | RequestWorkItem(DispatchThread thread, Result<DispatchWorkItem> result) Invoked by an assigned DispatchThread when request a new work-item. |
| Public | IncreaseThreadCount(string reason) Invoked by DispatchThreadScheduler to indicate that dispatch host should request additional threads if needed. |
| Public | MaintainThreadCount(string reason) Invoked by DispatchThreadScheduler to indicate that dispatch host should neither request new threads, nor release threads that are in use. |
| Public | DecreaseThreadCount(string reason) Invoked by DispatchThreadScheduler to indicate that dispatch host should release threads if possible. |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by