Share via


IThreadPoolConfig Interface

This interface provides methods for configuring a thread pool.

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

Members

Methods

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.

Remarks

This interface is implemented by CThreadPool.

Requirements

Header: atlutil.h

See Also

Reference

CThreadPool Class

Other Resources

ATL Classes