Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > new (thread) |
![]() ![]() ![]() |
new (thread)
Syntax
thread().new(newThreadName
{,stackSize
})
Description
Multiuser Server server-side command; creates a new thread with the name newThreadName
. To specify a stack size, include the optional stackSize
parameter. The stack size grows dynamically while Lingo instructions execute, as needed. For simple tasks, use a small stack size. For complex tasks, do not specify a stack size.
Example
This statement creates a new thread called thread7
with a stack size of 128 bytes:
myThread = thread().new("thread7", 128)
![]() ![]() ![]() |