System.Threading.TThreadPool.UnlimitedWorkerThreadsWhenBlocked
Delphi
property UnlimitedWorkerThreadsWhenBlocked: Boolean read FUnlimitedWorkerThreadsWhenBlocked
C++
__property bool UnlimitedWorkerThreadsWhenBlocked = {read=FUnlimitedWorkerThreadsWhenBlocked, write=FUnlimitedWorkerThreadsWhenBlocked, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Threading.pas System.Threading.hpp |
System.Threading | TThreadPool |
Description
Allows the thread pool to increase the number of worker threads above MaxWorkerThreads
when the processing of the work requests is blocked. This happens if the work request queue is not empty, the pool has no idle or retired threads, and the CPU usage is low, which can be a sign of deadlock.
The default value for UnlimitedWorkerThreadsWhenBlocked is True
.