Partilhar via


CComMultiThreadModel::ThreadModelNoCS

When using CComMultiThreadModel, the typedef name ThreadModelNoCS references class CComMultiThreadModelNoCS.

typedef CComMultiThreadModelNoCS ThreadModelNoCS;

Remarks

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 CComMultiThreadModel::AutoCriticalSection.

Requirements

Header: atlbase.h

See Also

Reference

CComMultiThreadModel Class

CComObjectThreadModel

CComGlobalsThreadModel

Other Resources

CComMultiThreadModel Members