Member variable Thread():active Foundation

Indicates whether program code is being executed in a thread.

Attribute: READONLY ASSIGNMENT HIDDEN
Data type: Logical
Description

As long as a thread is executing program code, the instance variable :active contains the value .T. (true). Before execution of the program code in the thread starts and after the code has ended, this instance variable contains the value .F. (false). :active is used to determine when the program code specified using the method :start() has ended. The instance variable gives no information about whether processor time is allotted to the thread at a particular point.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.