Sign in Join
FPDoc Onlineexperiment

TThread.AfterConstruction procedure

Member of TThreadpublicIn unit Classes

Code to be executed after construction but before execute.

Declaration

pascal
procedure AfterConstruction; override

Description

AfterConstruction is overridden in TThread, it actually starts the thread if it was created with CreateSuspended equal to False, i.e. not suspended. When overriding this method, the inherited method must be called, or the thread will never be started.

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