Sign in Join
FPDoc Onlineexperiment

TCompileWorkerThread.Create constructor

Member of TCompileWorkerThreadpublicIn unit fpMkUnit

Creates compilation worker thread

Declaration

pascal
constructor Create(ABuildEngine: TBuildEngine; 
 NotifyMainThreadEvent: PRTLEvent); virtual

Arguments

ABuildEngine

Build engine instance for compilation

NotifyMainThreadEvent

Event to notify main thread of completion

Description

Create initializes a new compilation worker thread with the specified build engine and notification callback. This constructor prepares the thread for parallel compilation operations.

The worker thread is configured to communicate with the main thread through the provided notification event.

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