EThreadExternalException

[Properties (by Name)][Methods (by Name)][Events (by Name)]

Exception raised when an invalid operation is attempted on an external thread

Declaration

Source position: classesh.inc line 1839

Type
  EThreadExternalException = class (EThread)
  ;

Description

EThreadExternalException is raised by for example TThread.CheckTerminated and TThread.SetReturnValue when the thread was not created by the Free Pascal program, but by an external code base (for example a DLL, or the calling application in a DLL).

MembersNo members available

Inheritance

Class Description
EThreadExternalException Exception raised when an invalid operation is attempted on an external thread

See also

Name Description
TThread.CheckTerminated Check if the current thread has finished executing.
TThread.SetReturnValue Set return value of a thread