共用方式為


CComSimpleThreadAllocator Class

This class manages thread selection for the class CComAutoThreadModule.

class CComSimpleThreadAllocator

Remarks

CComSimpleThreadAllocator manages thread selection for CComAutoThreadModule. CComSimpleThreadAllocator::GetThread simply cycles through each thread and returns the next one in the sequence.

Requirements

Header: atlbase.h

See Also

Reference

CComApartment Class

Other Resources

CComSimpleThreadAllocator Members

ATL Class Overview