CComAutoThreadModule::GetDefaultThreads

As of ATL 7.0, CComAutoThreadModule is obsolete: see ATL Module Classes for more details.

static int GetDefaultThreads( );

Return Value

The number of threads to be created in the EXE module.

Remarks

This static function dynamically calculates the maximum number of threads for the EXE module, based on the number of processors. By default, this return value is passed to the Init method to create the threads.

Requirements

Header: atlbase.h

See Also

Reference

CComAutoThreadModule Class