System::Threading::ThreadPoolImpl 클래스

ThreadPoolImpl class

Thread pool internal data. This is a singleton type with memory management done by access function(s). You should never create instances of it directly.

class ThreadPoolImpl

메서드

메서드설명
GetAvailableThreads(int&, int&)사용 가능한 스레드 수를 가져옵니다.
static GetInitialized()초기화 상태 싱글톤을 가져옵니다.
GetMaxThreads(int&, int&)동시 실행 가능한 최대 스레드 수를 가져옵니다.
GetMinThreads(int&, int&)풀에 의해 생성되는 최소 스레드 수를 가져옵니다.
JoinAll()소유한 모든 스레드를 조인합니다. 무한히 기다립니다.
QueueUserWorkItem(WaitCallback, const System::SharedPtr<System::Object>&)작업 항목을 큐에 추가합니다.
SetMaxThreads(int, int)풀에 소유된 스레드 수를 설정합니다.
SetMinThreads(int, int)풀에 소유된 최소 스레드 수를 설정합니다.
ThreadPoolImpl()생성자.
~ThreadPoolImpl()소멸자. 아직 종료되지 않은 경우 모든 스레드를 결합합니다.

또 보기