[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Check if the current thread has finished executing.
Source position: classesh.inc line 1804
public class function TThread.CheckTerminated: Boolean; |
TThread.CheckTerminated can be used to check if the current thread has finished executing (i.e. Execute has finished. This can be called from methods in other classes where the current thread instance is not available.
If the thread was not created by the FPC program, an EThreadExternalException exception is raised.
|
Exception raised when an invalid operation is attempted on an external thread |
|
|
Set return value of a thread |