Поделиться через


CThreadPool::GetSize

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

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

Параметры

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

Возвращаемое значение

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

Требования

Header: atlutil.h

См. также

Основные понятия

CThreadPool Class

CThreadPool Members

IThreadPoolConfig::GetSize

CThreadPool::SetSize

CThreadPool::GetNumThreads