Metode System::Threading::ThreadPool::SetMaxThreads

ThreadPool::SetMaxThreads method

Mengatur jumlah thread yang dimiliki oleh pool.

static bool System::Threading::ThreadPool::SetMaxThreads(int wt, int cpt)
ParameterTipeDeskripsi
wtintJumlah maksimal thread pekerja.
cptintJumlah maksimal thread IO.

ReturnValue

True jika parameter diterima, false jika tidak.

Lihat Juga