共用方式為


ATL_WORKER_THREAD_WAIT

 

This macro defines the default value in milliseconds that CWorkerThread::Shutdown will wait for the worker thread to shut down.

Syntax

#define ATL_WORKER_THREAD_WAIT

Remarks

ATL_WORKER_THREAD_WAIT defaults to 10 seconds. If necessary, you can define your own 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