Share via


CThreadPool::GetSize

Call this method to get the number of threads in the pool.

HRESULT STDMETHODCALLTYPE GetSize( 
   int* pnNumThreads  
) throw( );

Parameters

  • pnNumThreads
    [out] Address of the variable that, on success, receives the number of threads in the pool.

Return Value

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

Requirements

Header: atlutil.h

See Also

Reference

CThreadPool Class

IThreadPoolConfig::GetSize

CThreadPool::SetSize

CThreadPool::GetNumThreads