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()デストラクタ。まだ終了していない場合、すべてのスレッドを結合します。

参照