Thread.new

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: 2018.10
Class: Thread

Description

Creates a new Thread object. This manages one real hardware thread which you can set Lua functions to be run inside. <syntaxhighlight lang="lua"> local thread = Thread.new() </source>

Return values

thread: (Thread) new Thread object