System.Threading.TThreadPool.UnlimitedWorkerThreadsWhenBlocked

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property UnlimitedWorkerThreadsWhenBlocked: Boolean read FUnlimitedWorkerThreadsWhenBlocked

C++

__property bool UnlimitedWorkerThreadsWhenBlocked = {read=FUnlimitedWorkerThreadsWhenBlocked, write=FUnlimitedWorkerThreadsWhenBlocked, default=1};

プロパティ

種類 可視性 ソース ユニット
property public
System.Threading.pas
System.Threading.hpp
System.Threading TThreadPool


説明

作業リクエストの処理がブロックされた場合に、スレッド プールが、ワーカ スレッドの数を MaxWorkerThreads を超えて増やせるようにします。 これは、作業リクエストのキューが空ではなく、プールにアイドルまたはリタイアしたスレッドがなく、CPU 使用率が低い場合に発生します(デッドロックの兆候である可能性があります)。

UnlimitedWorkerThreadsWhenBlocked のデフォルト値は、True です。


関連項目