Thread Pooling Classes
The latest version of this topic can be found at Thread Pooling Classes (ATL).
The following classes support thread pooling:
CComAutoThreadModule Implements an EXE module, with support for multiple thread-pooled apartments.
CComApartment Manages an apartment in a thread-pooled EXE module.
CComSimpleThreadAllocator Manages thread selection for an EXE module.