System.Threading.TThreadPool.TBaseWorkerThread.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AThreadPool: TThreadPool);

C++

__fastcall TBaseWorkerThread(TThreadPool* AThreadPool);

Properties

Type Visibility Source Unit Parent
constructor public
System.Threading.pas
System.Threading.hpp
System.Threading TBaseWorkerThread

Description

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.

See Also