CComMultiThreadModel::ThreadModelNoCS

typedef CComMultiThreadModelNoCS ThreadModelNoCS;

Remarks

When using CComMultiThreadModel, the typedef name ThreadModelNoCS references class CComMultiThreadModelNoCS. CComMultiThreadModelNoCS provides thread-safe methods for incrementing and decrementing a variable; however, it does not provide a critical section.

CComSingleThreadModel and CComMultiThreadModelNoCS also 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
CComMultiThreadModel CcomMultiThreadModelNoCS
CComSingleThreadModel CcomSingleThreadModel
CComMultiThreadModelNoCS CcomMultiThreadModelNoCS

Example

See AutoCriticalSection.

CComMultiThreadModel OverviewClass Members

See Also   CComObjectThreadModel, CComGlobalsThreadModel