IThreadPoolConfig::GetTimeout

 

Call this method to get the maximum time in milliseconds that the thread pool will wait for a thread to shut down.

Syntax

      STDMETHOD(GetTimeout)(
   DWORD * pdwMaxWait 
);

Parameters

  • pdwMaxWait
    [out] Address of the variable that, on success, receives the maximum time in milliseconds that the thread pool will wait for a thread to shut down.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Example

See IThreadPoolConfig::GetSize.

Requirements

Header: atlutil.h

See Also

IThreadPoolConfig Interface
IThreadPoolConfig::SetTimeout