Sign in Join
FPDoc Onlineexperiment

TCompileWorkerThread class

In unit fpMkUnit

Worker thread for compilation operations

Declaration

pascal
TCompileWorkerThread = class(TThread)

Inheritance

  1. TCompileWorkerThread
  2. TThread

Description

TCompileWorkerThread implements a worker thread for executing compilation operations in parallel. This class enables concurrent compilation of multiple targets to improve build performance on multi-core systems.

The worker thread manages compilation tasks, handles thread synchronization, and reports progress back to the main thread for coordinated parallel build processing.

Properties

Doneprotected
APackageprotected
CompilationOKprotected
NotifyStartTaskprotected
ErrorMessageprotected

Methods

executeprotectedExecute method. Must be overridden in a descendant thread.
CreatepublicCreates compilation worker thread
DestroypublicDestroys worker thread and cleans up resources

Inherited

From TThread (41)

AfterConstruction CheckTerminated CreateAnonymousThread Current CurrentIsMain CurrentThread DoTerminate ExecuteInThread ExternalThread FatalException Finished ForceQueue FreeOnTerminate GetCPUUsage GetSystemTimes GetTickCount GetTickCount64 Handle IsSingleProcessor NameThreadForDebugging OnTerminate Priority ProcessorCount Queue RemoveQueuedEvents Resume ReturnValue SetReturnValue Sleep SpinWait Start Suspend Suspended Synchronize Terminate Terminated TerminatedSet ThreadID TSystemTimes WaitFor Yield

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.