Thread.new

From GiderosMobile
Revision as of 20:08, 15 April 2021 by MoKaLux (talk | contribs)

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()

Parameters

none

Return values

thread: (Thread) new Thread object