[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Set return value of a thread
Source position: classesh.inc line 1803
public class procedure TThread.SetReturnValue( |
aValue: Integer |
); |
TThread.SetReturnValue sets the return value of an internally created thread.
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 |
|
|
Check if the current thread has finished executing. |