CAtlAutoThreadModuleT Class
Visual Studio 2012
This class provides methods for implementing a thread-pooled, apartment-model COM server.
Important
|
|---|
|
This class and its members cannot be used in applications that execute in the Windows Runtime. |
template < class T, class ThreadAllocator= CComSimpleThreadAllocator, DWORD dwWait= INFINITE > class ATL_NO_VTABLE CAtlAutoThreadModuleT : public IAtlAutoThreadModule
The class CAtlAutoThreadModule derives from CAtlAutoThreadModuleT in order to implement a thread-pooled, apartment-model COM server. It replaces the obsolete class CComAutoThreadModule.
Note
|
|---|
|
This class should not be used in a DLL, as the default dwWait value of INFINITE will cause a deadlock when the DLL is unloaded. |
Important