Thread.new

From GiderosMobile
Revision as of 15:33, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

local thread = Thread.new()

Return values

thread: (Thread) new Thread object