Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
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.

Header: atlutil.h

Community Additions

© 2015 Microsoft