Metodo System::Threading::ThreadPoolImpl::SetMaxThreads

ThreadPoolImpl::SetMaxThreads method

Imposta il numero di thread posseduti dal pool.

bool System::Threading::ThreadPoolImpl::SetMaxThreads(int wt, int cpt)
ParametroTipoDescrizione
wtintNumero massimo di thread worker.
cptintNumero massimo di thread IO.

ReturnValue

True se i parametri sono stati accettati, false altrimenti.

Vedi anche