次の方法で共有


ATLS_DEFAULT_THREADPOOLSHUTDOWNTIMEOUT

 

This macro defines the default time in milliseconds that CThreadPool will wait for a thread to shut down.

Syntax

#define ATLS_DEFAULT_THREADPOOLSHUTDOWNTIMEOUT

Remarks

The default time is 36 seconds. If necessary, you can define your own positive integer value for this symbol before including atlutil.h.

To set the timeout at run time or for a particular object, call CThreadPool::SetTimeout.

Requirements

Header: atlutil.h

See Also

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