CComSingleThreadModel::ThreadModelNoCS
When using CComSingleThreadModel, the typedef name ThreadModelNoCS simply references CComSingleThreadModel.
typedef CComSingleThreadModel ThreadModelNoCS;
Remarks
CComMultiThreadModel and CComMultiThreadModelNoCS contain definitions for ThreadModelNoCS. The following table shows the relationship between the threading model class and the class referenced by ThreadModelNoCS:
Class defined in |
Class referenced |
---|---|
CComSingleThreadModel |
CComSingleThreadModel |
CComMultiThreadModel |
CComMultiThreadModelNoCS |
CComMultiThreadModelNoCS |
CComMultiThreadModelNoCS |
Example
See CComMultiThreadModel::AutoCriticalSection.
Requirements
Header: atlbase.h