|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
This macro defines the default time in milliseconds that CThreadPool will wait for a thread to shut down.
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.