次の方法で共有


ATLS_DEFAULT_THREADSPERPROC

 

This macro defines the default number of threads per processor used by CThreadPool.

Syntax

#define ATLS_DEFAULT_THREADSPERPROC

Remarks

The default is 2 threads per processor. If necessary, you can define your own positive integer value for this symbol before including atlutil.h.

Requirements

Header: atlutil.h

See Also

Active Template Library (ATL) Concepts
ATL COM Desktop Components
ATL Macros Alphabetical Reference