|
|
|
IDXTaskManager Interface |
|
CLSID_DXTaskManager |
{4CB26C03-FF93-11D0-817E-0000F87557DB} |
|
IID_IDXTaskManager |
{254DBBC1-F922-11D0-883A-3C8B00C10000} |
|
The IDXTaskManager interface enables you to configure the task manager to specify the thread pool size and the thread concurrency limit.
Remarks
The task manager is a
generic service used to schedule and execute caller-defined tasks. It
automatically breaks a transform task into threads and manages their
completion, which improves the efficiency of the transform. |
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IDXTaskManager Members |
Description |
|
QueryNumProcessors |
Retrieves the number of processors installed in the system. |
|
SetThreadPoolSize |
Specifies the number of threads to create and make available to execute tasks. |
|
GetThreadPoolSize |
Retrieves the number of threads in the thread pool. |
|
SetConcurrencyLimit |
Defines the number of threads that can execute from a thread pool at a given time. |
|
GetConcurrencyLimit |
Retrieves the number of threads allowed to execute on a single processor at a given time. |
|
ScheduleTasks |
Defines a set of tasks to execute. |
|
TerminateTasks |
Terminates a set of tasks previously scheduled by the task manager. |
|
TerminateRequest |
Terminates a task based on its request identifier (ID) value that was used when the task was scheduled. |
|
QueryNumProcessors |
|
FUNCTION
IDXTaskManager_QueryNumProcessors
( _ |
|
SetThreadPoolSize |
|
FUNCTION
IDXTaskManager_SetThreadPoolSize
( _ |
|
GetThreadPoolSize |
|
FUNCTION
IDXTaskManager_GetThreadPoolSize
( _ |
|
SetConcurrencyLimit |
|
FUNCTION
IDXTaskManager_SetConcurrencyLimit
( _ |
|
GetConcurrencyLimit |
|
FUNCTION
IDXTaskManager_GetConcurrencyLimit
( _ |
|
ScheduleTasks |
|
FUNCTION
IDXTaskManager_ScheduleTasks
( _ |
|
TerminateTasks |
|
FUNCTION
IDXTaskManager_TerminateTasks
( _ |
|
TerminateRequest |
|
FUNCTION
IDXTaskManager_TerminateRequest
( _ |
Page last updated on Monday, 03 April 2006 19:49:44 +0200