System.Threading

From RAD Studio API Documentation
Jump to: navigation, search

Defines classes and types that implement the parallel programming library.

For more information, see:

Package rtl280.bpl

Classes

EAggregateException
IFutureIFuture implements ITask to have a function able to run in a parallel thread that returns a specific type when needed. The type being specified by the generic type parameter T. (See Generics).
ITaskITask provides a range of methods and properties to start, wait, and cancel a process, as well as a property to know its status.
TAbstractTask
TFutureTFuture provides members and functions that implement the IFuture<T>, which was returned from the TTask.Future<T> method.
TObjectCache
TObjectCaches
TParallelTParallel provides a class for-loop or join a set of tasks making an efficient use of all the CPU cores in the system.
TSparseArray
TTaskTTask is a class managing and representing procedures that can be executed in parallel threads.
TThreadPoolTThreadPool provides a class for managing automatically worker threads based on the load of the CPU.
TWorkStealingQueueTWorkStealingQueue provides a class to push, pop, or remove tasks into thread pool threads.

Routines

GetThreadPoolInteractive
SetThreadPoolInteractive

Types

TExceptionHandlerEvent
TExceptionHandlerProc
TFunctionEvent
TTaskStatusOptions for the Status of a Task.
TThreadPoolStatsThis record is used to grab a "snapshot" of a threadpool's internal state.