IThreadPoolConfig Interface
TOC
Collapse the table of content
Expand the table of content

IThreadPoolConfig Interface

 

This interface provides methods for configuring a thread pool.

System_CAPS_importantImportant

This class and its members cannot be used in applications that execute in the Windows Runtime.


      __interface
__declspec(uuid("B1F64757-6E88-4fa2-8886-7848B0D7E660"))
IThreadPoolConfig :
public IUnknown

GetSize

Call this method to get the number of threads in the pool.

GetTimeout

Call this method to get the maximum time in milliseconds that the thread pool will wait for a thread to shut down.

SetSize

Call this method to set the number of threads in the pool.

SetTimeout

Call this method to set the maximum time in milliseconds that the thread pool will wait for a thread to shut down.

This interface is implemented by CThreadPool.

Requirements

Header: atlutil.h

Show:
© 2016 Microsoft