Classes

Method Thread():new() Foundation

Creates an instance of the Thread class.

Syntax
Thread():new( [<nMaxStackSize>], [<cName>] )
Parameters
<nMaxStackSize>
<nMaxStackSize> is a numeric value which indicates the maximum size (in bytes) of the stack for the thread. The default value is 50000 bytes.
<cName>
<cName> is a character string that is assigned to the instance variable :name.
Return

The class method :new() returns a new Thread object.

Description

A Thread object manages a thread and can execute program code in the thread. As soon as the object is created, the thread is available. The function or procedure to be executed within the new thread must be specified using the method :start().

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.