Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SetThreadPoolSize method

Specifies the number of threads to create and make available to execute tasks.

Syntax


HRESULT retVal = object.SetThreadPoolSize(ulNumThreads);

Parameters

ulNumThreads [in]

Type: unsigned long

Number of threads to make available in the thread pool.

Remarks

This method is used to define how many threads can be used to process tasks. If set to zero, the thread scheduling the work executes it.

See also

IDXTaskManager::GetThreadPoolSize

 

 

Show:
© 2015 Microsoft