Sign in Join
FPDoc Onlineexperiment

TThread.SetReturnValue procedure

Member of TThreadpublicIn unit Classes

Set return value of a thread.

Declaration

pascal
class procedure SetReturnValue(aValue: Integer); static

Description

TThread.SetReturnValue sets the return value of an internally created thread.

Errors

If the thread was not created by the FPC program, an EThreadExternalException exception is raised.

See also

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