Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TThread.Terminate

Signals the thread it should terminate.

Declaration

Source position: classesh.inc line 2390

public procedure TThread.Terminate;

Description

Terminate sets the TThread.Terminated flag. It does not in any way attempt to terminate the thread in any other way, this just signals the thread that it should stop executing at the earliest possible moment.

See also

TThread.Terminated

  

Indicates whether the Terminatemethod was called by the user.

TThread.WaitFor

  

Waits for the thread to terminate and returns the exit status.

TThread.FreeOnTerminate

  

Indicates whether the thread should free itself when it stops executing.

OnTerminate

  

Event called when the thread terminates.


Documentation generated on: Dec 22 2024