System.Threading.TThreadPool.TQueueWorkerThread.Create
Delphi
constructor Create(AThreadPool: TThreadPool);
C++
__fastcall TQueueWorkerThread(TThreadPool* AThreadPool);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Threading.pas System.Threading.hpp |
System.Threading | TQueueWorkerThread |
Description
Creates an instance of a thread that is responsible for running work items queued in the specified thread pool.
System.Threading.TThreadPool.TQueueWorkerThread.Create inherits from System.Threading.TThreadPool.TBaseWorkerThread.Create. All content below this line refers to System.Threading.TThreadPool.TBaseWorkerThread.Create.
Creates an instance of a thread that is responsible for running work items queued in the specified thread pool.
You can use the ThreadPool property later to access the thread pool that you specified here. However, you cannot change the thread pool of a worker thread at run time.