Skip to content

TCompileWorkerThread.Create

Creates compilation worker thread

Declaration

Source position: fpmkunit.pp line 1629

public 
constructor TCompileWorkerThread.Create(ABuildEngine: TBuildEngine; 
                                       NotifyMainThreadEvent: PRTLEvent)
                                       ;  virtual;

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.