ATLS_DEFAULT_THREADPOOLSHUTDOWNTIMEOUT

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

#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

Other Resources

Active Template Library (ATL) Concepts

ATL COM Desktop Components

ATL Macros Alphabetical Reference