Thread.new

Revision as of 23:57, 11 February 2020 by MoKaLux (talk | contribs)
(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()

Parameters

none

Return values

thread: (Thread) new Thread object