Sign in Join
FPDoc Onlineexperiment

TThread.Execute procedure

Member of TThreadprotectedIn unit Classes

Execute method. Must be overridden in a descendant thread.

Declaration

pascal
procedure Execute; virtual; abstract

Description

Execute is a method that must be overridden in descendant classes of the thread. It must contain the code that must execute in the thread. The Execute method is responsible for checking Terminated at regular intervals: when it is set to True the execute method must exit.

See also

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