Export (0) Print
Expand All

IThreadPoolConfig Interface

This interface provides methods for configuring a thread pool.

Important note Important

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.

Header: atlutil.h

Reference

Other Resources

Show:
© 2014 Microsoft